Class: Aws::Omics::Waiters::AnnotationStoreVersionDeleted
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::AnnotationStoreVersionDeleted
- Defined in:
- gems/aws-sdk-omics/lib/aws-sdk-omics/waiters.rb
Overview
Wait until an annotation store version is deleted.
Instance Method Summary collapse
-
#initialize(options) ⇒ AnnotationStoreVersionDeleted
constructor
A new instance of AnnotationStoreVersionDeleted.
-
#wait(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ AnnotationStoreVersionDeleted
Returns a new instance of AnnotationStoreVersionDeleted.
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/waiters.rb', line 328 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_annotation_store_version, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "DELETED" }, { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "DELETING" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Returns a response object which responds to the following methods:
- #store_id => String
- #id => String
- #status => String
- #version_arn => String
- #name => String
- #version_name => String
- #description => String
- #creation_time => Time
- #update_time => Time
- #tags => Hash<String,String>
- #version_options => Types::VersionOptions
- #status_message => String
- #version_size_bytes => Integer
360 361 362 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/waiters.rb', line 360 def wait(params = {}) @waiter.wait(client: @client, params: params) end |