Class: Aws::RDS::Waiters::TenantDatabaseDeleted
- Inherits:
-
Object
- Object
- Aws::RDS::Waiters::TenantDatabaseDeleted
- Defined in:
- lib/aws-sdk-rds/waiters.rb
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ TenantDatabaseDeleted
constructor
A new instance of TenantDatabaseDeleted.
-
#wait(params = {}) ⇒ Types::TenantDatabasesMessage
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ TenantDatabaseDeleted
Returns a new instance of TenantDatabaseDeleted.
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 |
# File 'lib/aws-sdk-rds/waiters.rb', line 689 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" => true, "matcher" => "path", "state" => "success", "argument" => "length(tenant_databases) == `0`" }, { "expected" => "DBInstanceNotFoundFault", "matcher" => "error", "state" => "success" } ] ) }.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.
720 721 722 |
# File 'lib/aws-sdk-rds/waiters.rb', line 720 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>
715 716 717 |
# File 'lib/aws-sdk-rds/waiters.rb', line 715 def wait(params = {}) @waiter.wait(client: @client, params: params) end |