Class: Aws::HealthLake::Waiters::FHIRDatastoreDeleted
- Inherits:
-
Object
- Object
- Aws::HealthLake::Waiters::FHIRDatastoreDeleted
- Defined in:
- gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ FHIRDatastoreDeleted
constructor
A new instance of FHIRDatastoreDeleted.
-
#wait(params = {}) ⇒ Types::DescribeFHIRDatastoreResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ FHIRDatastoreDeleted
Returns a new instance of FHIRDatastoreDeleted.
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 193 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 120, poller: Aws::Waiters::Poller.new( operation_name: :describe_fhir_datastore, acceptors: [{ "matcher" => "path", "argument" => "datastore_properties.datastore_status", "state" => "success", "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
212 213 214 |
# File 'gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 212 def wait(params = {}) @waiter.wait(client: @client, params: params) end |