hatoba / Waiter / ClusterRunning

ClusterRunning

class hatoba.Waiter.ClusterRunning
waiter = client.get_waiter('cluster_running')
wait(**kwargs)

Polls hatoba.Client.get_cluster() every 60 seconds until a successful state is reached. An error is returned after 40 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    ClusterName='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • ClusterName (string) – [REQUIRED]

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 60

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 40

Returns:

None