hatoba / Waiter / SnapshotAvailable

SnapshotAvailable

class hatoba.Waiter.SnapshotAvailable
waiter = client.get_waiter('snapshot_available')
wait(**kwargs)

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

See also: AWS API Documentation

Request Syntax

waiter.wait(
    SnapshotName='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • SnapshotName (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: 20

    • MaxAttempts (integer) –

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

Returns:

None