Class: Aws::HealthLake::Waiters::FHIRDatastoreActive
- Inherits:
-
Object
- Object
- Aws::HealthLake::Waiters::FHIRDatastoreActive
- Defined in:
- gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ FHIRDatastoreActive
constructor
A new instance of FHIRDatastoreActive.
-
#wait(params = {}) ⇒ Types::DescribeFHIRDatastoreResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ FHIRDatastoreActive
Returns a new instance of FHIRDatastoreActive.
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 143 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 60, poller: Aws::Waiters::Poller.new( operation_name: :describe_fhir_datastore, acceptors: [ { "matcher" => "path", "argument" => "datastore_properties.datastore_status", "state" => "success", "expected" => "ACTIVE" }, { "matcher" => "path", "argument" => "datastore_properties.datastore_status", "state" => "failure", "expected" => "CREATE_FAILED" }, { "matcher" => "path", "argument" => "datastore_properties.datastore_status", "state" => "failure", "expected" => "DELETED" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeFHIRDatastoreResponse
Returns a response object which responds to the following methods:
- #datastore_properties => Types::DatastoreProperties
176 177 178 |
# File 'gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 176 def wait(params = {}) @waiter.wait(client: @client, params: params) end |