Class: Aws::Omics::Waiters::VariantStoreDeleted
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::VariantStoreDeleted
- Defined in:
- lib/aws-sdk-omics/waiters.rb
Overview
Wait until a variant store is deleted.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ VariantStoreDeleted
constructor
A new instance of VariantStoreDeleted.
-
#wait(params = {}) ⇒ Types::GetVariantStoreResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ VariantStoreDeleted
Returns a new instance of VariantStoreDeleted.
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1062 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_variant_store, 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 Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1099 1100 1101 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1099 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetVariantStoreResponse
Returns a response object which responds to the following methods:
-
#id => String
-
#reference => Types::ReferenceItem
-
#status => String
-
#store_arn => String
-
#name => String
-
#description => String
-
#sse_config => Types::SseConfig
-
#creation_time => Time
-
#update_time => Time
-
#tags => Hash<String,String>
-
#status_message => String
-
#store_size_bytes => Integer
1094 1095 1096 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1094 def wait(params = {}) @waiter.wait(client: @client, params: params) end |