Glacier / Waiter / VaultExists

VaultExists#

class Glacier.Waiter.VaultExists#
waiter = client.get_waiter('vault_exists')
wait(**kwargs)#

Polls Glacier.Client.describe_vault() every 3 seconds until a successful state is reached. An error is returned after 15 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    vaultName='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • accountId (string) –

    The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single ‘ -’ (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (‘-’) in the ID.

    Note: this parameter is set to “-” bydefault if no value is not specified.

  • vaultName (string) –

    [REQUIRED]

    The name of the vault.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None