Waiters#
Auto-generated documentation for DynamoDB type annotations stubs module mypy-boto3-dynamodb.
TableExistsWaiter#
Type annotations and code completion for boto3.client("dynamodb").get_waiter("table_exists")
.
boto3 documentation
# TableExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_dynamodb.waiter import TableExistsWaiter
session = Session()
client = session.client("dynamodb") # (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
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 boto3.client("dynamodb").get_waiter("table_not_exists")
.
boto3 documentation
# TableNotExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_dynamodb.waiter import TableNotExistsWaiter
session = Session()
client = session.client("dynamodb") # (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
def wait(
self,
*,
TableName: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeTableInputTableNotExistsWaitTypeDef = { # (1)
"TableName": ...,
}
parent.wait(**kwargs)