Skip to content

Waiters#

Index > SES > Waiters

Auto-generated documentation for SES type annotations stubs module types-aiobotocore-ses.

IdentityExistsWaiter#

Type annotations and code completion for session.create_client("ses").get_waiter("identity_exists"). boto3 documentation

# IdentityExistsWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_ses.waiter import IdentityExistsWaiter

session = get_session()
async with session.create_client("ses") as client:  # (1)
    waiter: IdentityExistsWaiter = client.get_waiter("identity_exists")  # (2)
    await waiter.wait()
  1. client: SESClient
  2. waiter: IdentityExistsWaiter

wait#

Type annotations and code completion for IdentityExistsWaiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    Identities: Sequence[str],
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetIdentityVerificationAttributesRequestIdentityExistsWaitTypeDef = {  # (1)
    "Identities": ...,
}

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