Skip to content

Waiters

Index > DynamoDB > Waiters

Auto-generated documentation for DynamoDB type annotations stubs module types-aiobotocore-dynamodb.

TableExistsWaiter

Type annotations and code completion for session.client("dynamodb").get_waiter("table_exists"). boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_dynamodb.waiter import TableExistsWaiter

session = get_session()
async with session.client("dynamodb") as client:  # (1)
    waiter: TableExistsWaiter = client.get_waiter("table_exists")  # (2)
    await waiter.wait()
  1. client: DynamoDBClient
  2. waiter: TableExistsWaiter

wait

Type annotations and code completion for TableExistsWaiter.wait method.

Method definition
await def wait(
    self,
    *,
    TableName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeTableInputTableExistsWaitTypeDef = {  # (1)
    "TableName": ...,
}

parent.wait(**kwargs)
  1. See DescribeTableInputTableExistsWaitTypeDef

TableNotExistsWaiter

Type annotations and code completion for session.client("dynamodb").get_waiter("table_not_exists"). boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_dynamodb.waiter import TableNotExistsWaiter

session = get_session()
async with session.client("dynamodb") as client:  # (1)
    waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")  # (2)
    await waiter.wait()
  1. client: DynamoDBClient
  2. waiter: TableNotExistsWaiter

wait

Type annotations and code completion for TableNotExistsWaiter.wait method.

Method definition
await def wait(
    self,
    *,
    TableName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeTableInputTableNotExistsWaitTypeDef = {  # (1)
    "TableName": ...,
}

parent.wait(**kwargs)
  1. See DescribeTableInputTableNotExistsWaitTypeDef