Skip to content

Waiters#

Index > SES > Waiters

Auto-generated documentation for SES type annotations stubs module mypy-boto3-ses.

IdentityExistsWaiter#

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

# IdentityExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_ses.waiter import IdentityExistsWaiter


session = Session()

client = session.client("ses")  # (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

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

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

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