Class: Aws::DSQL::Waiters::ClusterActive

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-dsql/waiters.rb,
sig/waiters.rbs

Overview

Wait until a Cluster is ACTIVE

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ ClusterActive

Returns a new instance of ClusterActive.

Parameters:

  • options (Hash)

Options Hash (options):

  • :client (required, Client)
  • :max_attempts (Integer) — default: 60
  • :delay (Integer) — default: 2
  • :before_attempt (Proc)
  • :before_wait (Proc)


88
89
# File 'lib/aws-sdk-dsql/waiters.rb', line 88

def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void

Instance Attribute Details

#waiterObject (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.



112
113
114
# File 'lib/aws-sdk-dsql/waiters.rb', line 112

def waiter
  @waiter
end

Instance Method Details

#wait(params = {}) ⇒ Types::GetClusterOutput

Returns a response object which responds to the following methods:

Options Hash (params):

  • :identifier (required, String)

    The ID of the cluster to retrieve.

Returns:



107
# File 'lib/aws-sdk-dsql/waiters.rb', line 107

def wait: (