Class: Aws::DatabaseMigrationService::Waiters::MetadataModelCreated
- Inherits:
-
Object
- Object
- Aws::DatabaseMigrationService::Waiters::MetadataModelCreated
- Defined in:
- lib/aws-sdk-databasemigrationservice/waiters.rb
Overview
Wait until DMS metadata model is created.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ MetadataModelCreated
constructor
A new instance of MetadataModelCreated.
-
#wait(params = {}) ⇒ Types::DescribeMetadataModelCreationsResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ MetadataModelCreated
Returns a new instance of MetadataModelCreated.
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 |
# File 'lib/aws-sdk-databasemigrationservice/waiters.rb', line 331 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 40, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :describe_metadata_model_creations, acceptors: [ { "argument" => "requests[].status", "expected" => "SUCCESS", "matcher" => "pathAll", "state" => "success" }, { "argument" => "requests[].status", "expected" => "FAILED", "matcher" => "pathAny", "state" => "failure" } ] ) }.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.
363 364 365 |
# File 'lib/aws-sdk-databasemigrationservice/waiters.rb', line 363 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeMetadataModelCreationsResponse
358 359 360 |
# File 'lib/aws-sdk-databasemigrationservice/waiters.rb', line 358 def wait(params = {}) @waiter.wait(client: @client, params: params) end |