DynamoDB / Waiter / ImportCompleted

ImportCompleted

class DynamoDB.Waiter.ImportCompleted
waiter = client.get_waiter('import_completed')
wait(**kwargs)

Polls DynamoDB.Client.describe_import() every 20 seconds until a successful state is reached. An error is raised after 60 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) associated with the table you’re importing to.

  • 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: 60

Returns:

None