Waiters#
Auto-generated documentation for DynamoDB type annotations stubs module types-aiobotocore-dynamodb.
TableExistsWaiter#
Type annotations and code completion for session.create_client("dynamodb").get_waiter("table_exists")
.
boto3 documentation
# TableExistsWaiter usage example
from aiobotocore.session import Session
from types_aiobotocore_dynamodb.waiter import TableExistsWaiter
session = get_session()
async with session.create_client("dynamodb") as client: # (1)
waiter: TableExistsWaiter = client.get_waiter("table_exists") # (2)
await waiter.wait()
- client: DynamoDBClient
- waiter: TableExistsWaiter
wait#
Type annotations and code completion for TableExistsWaiter.wait
method.
# wait method definition
await def wait(
self,
*,
TableName: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeTableInputTableExistsWaitTypeDef = { # (1)
"TableName": ...,
}
parent.wait(**kwargs)
TableNotExistsWaiter#
Type annotations and code completion for session.create_client("dynamodb").get_waiter("table_not_exists")
.
boto3 documentation
# TableNotExistsWaiter usage example
from aiobotocore.session import Session
from types_aiobotocore_dynamodb.waiter import TableNotExistsWaiter
session = get_session()
async with session.create_client("dynamodb") as client: # (1)
waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists") # (2)
await waiter.wait()
- client: DynamoDBClient
- waiter: TableNotExistsWaiter
wait#
Type annotations and code completion for TableNotExistsWaiter.wait
method.
# wait method definition
await def wait(
self,
*,
TableName: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeTableInputTableNotExistsWaitTypeDef = { # (1)
"TableName": ...,
}
parent.wait(**kwargs)