DynamoDB / Waiter / TableExists
TableExists#
- class DynamoDB.Waiter.TableExists#
waiter = client.get_waiter('table_exists')
- wait(**kwargs)#
Polls
DynamoDB.Client.describe_table()
every 20 seconds until a successful state is reached. An error is raised after 25 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( TableName='string', WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
TableName (string) –
[REQUIRED]
The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
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: 25
- Returns:
None