Skip to content

SES module#

Index > SES

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

How to install#

From PyPI with pip#

Install types-aiobotocore for SES service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[ses]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[ses]'


# standalone installation
python -m pip install types-aiobotocore-ses

How to uninstall#

python -m pip uninstall -y types-aiobotocore-ses

Usage#

Code samples can be found in Examples.

SESClient#

Type annotations and code completion for session.create_client("ses") as SESClient boto3 documentation

# SESClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_ses.client import SESClient


session = get_session()
async with session.create_client("ses") as client:
    client: SESClient

Paginators#

Type annotations and code completion for paginators from session.create_client("ses").get_paginator("...").

# ListConfigurationSetsPaginator usage example

from types_aiobotocore_ses.paginator import ListConfigurationSetsPaginator

def get_list_configuration_sets_paginator() -> ListConfigurationSetsPaginator:
    return client.get_paginator("list_configuration_sets"))

Waiters#

Type annotations and code completion for waiters from session.create_client("ses").get_waiter("...").

# IdentityExistsWaiter usage example

from types_aiobotocore_ses.waiter import IdentityExistsWaiter

def get_identity_exists_waiter() -> IdentityExistsWaiter:
    return Session().client("ses").get_waiter("identity_exists")

Literals#

Type annotations for literals used in methods and schema.

# BehaviorOnMXFailureType usage example

from types_aiobotocore_ses.literals import BehaviorOnMXFailureType

def get_value() -> BehaviorOnMXFailureType:
    return "RejectMessage"

Type definitions#

Type annotations for type definitions used in methods and schema.