Class: Aws::RDS::Waiters::TenantDatabaseAvailable
- Inherits:
-
Object
- Object
- Aws::RDS::Waiters::TenantDatabaseAvailable
- Defined in:
- lib/aws-sdk-rds/waiters.rb
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ TenantDatabaseAvailable
constructor
A new instance of TenantDatabaseAvailable.
-
#wait(params = {}) ⇒ Types::TenantDatabasesMessage
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ TenantDatabaseAvailable
Returns a new instance of TenantDatabaseAvailable.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/aws-sdk-rds/waiters.rb', line 633 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_tenant_databases, acceptors: [ { "expected" => "available", "matcher" => "pathAll", "state" => "success", "argument" => "tenant_databases[].status" }, { "expected" => "deleted", "matcher" => "pathAny", "state" => "failure", "argument" => "tenant_databases[].status" }, { "expected" => "incompatible-parameters", "matcher" => "pathAny", "state" => "failure", "argument" => "tenant_databases[].status" }, { "expected" => "incompatible-restore", "matcher" => "pathAny", "state" => "failure", "argument" => "tenant_databases[].status" } ] ) }.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.
677 678 679 |
# File 'lib/aws-sdk-rds/waiters.rb', line 677 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::TenantDatabasesMessage
Returns a response object which responds to the following methods:
-
#marker => String
-
#tenant_databases => Array<Types::TenantDatabase>
672 673 674 |
# File 'lib/aws-sdk-rds/waiters.rb', line 672 def wait(params = {}) @waiter.wait(client: @client, params: params) end |