SES module#
Index > SES
Auto-generated documentation for SES type annotations stubs module types-boto3-ses.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
SES
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and SES
.
From PyPI with pip#
Install types-boto3
for SES
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[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-boto3-lite[ses]'
# standalone installation
python -m pip install types-boto3-ses
How to uninstall#
python -m pip uninstall -y types-boto3-ses
Usage#
Code samples can be found in Examples.
SESClient#
Type annotations and code completion for boto3.client("ses")
as SESClient
boto3 documentation
# SESClient usage example
from boto3.session import Session
from types_boto3_ses.client import SESClient
def get_client() -> SESClient:
return Session().client("ses")
Paginators#
Type annotations and code completion for paginators
from boto3.client("ses").get_paginator("...")
.
# ListConfigurationSetsPaginator usage example
from boto3.session import Session
from types_boto3_ses.paginator import ListConfigurationSetsPaginator
def get_list_configuration_sets_paginator() -> ListConfigurationSetsPaginator:
return Session().client("ses").get_paginator("list_configuration_sets"))
- ListConfigurationSetsPaginator
- ListCustomVerificationEmailTemplatesPaginator
- ListIdentitiesPaginator
- ListReceiptRuleSetsPaginator
- ListTemplatesPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("ses").get_waiter("...")
.
# IdentityExistsWaiter usage example
from boto3.session import Session
from types_boto3_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_boto3_ses.literals import BehaviorOnMXFailureType
def get_value() -> BehaviorOnMXFailureType:
return "RejectMessage"
- BehaviorOnMXFailureType
- BounceTypeType
- BulkEmailStatusType
- ConfigurationSetAttributeType
- CustomMailFromStatusType
- DimensionValueSourceType
- DsnActionType
- EventTypeType
- IdentityExistsWaiterName
- IdentityTypeType
- InvocationTypeType
- ListConfigurationSetsPaginatorName
- ListCustomVerificationEmailTemplatesPaginatorName
- ListIdentitiesPaginatorName
- ListReceiptRuleSetsPaginatorName
- ListTemplatesPaginatorName
- NotificationTypeType
- ReceiptFilterPolicyType
- SNSActionEncodingType
- StopScopeType
- TlsPolicyType
- VerificationStatusType
- SESServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AddHeaderActionTypeDef
- BlobTypeDef
- ContentTypeDef
- BounceActionTypeDef
- BulkEmailDestinationStatusTypeDef
- DestinationTypeDef
- MessageTagTypeDef
- CloneReceiptRuleSetRequestRequestTypeDef
- CloudWatchDimensionConfigurationTypeDef
- ConfigurationSetTypeDef
- ConnectActionTypeDef
- TrackingOptionsTypeDef
- CreateCustomVerificationEmailTemplateRequestRequestTypeDef
- CreateReceiptRuleSetRequestRequestTypeDef
- TemplateTypeDef
- CustomVerificationEmailTemplateTypeDef
- DeleteConfigurationSetEventDestinationRequestRequestTypeDef
- DeleteConfigurationSetRequestRequestTypeDef
- DeleteConfigurationSetTrackingOptionsRequestRequestTypeDef
- DeleteCustomVerificationEmailTemplateRequestRequestTypeDef
- DeleteIdentityPolicyRequestRequestTypeDef
- DeleteIdentityRequestRequestTypeDef
- DeleteReceiptFilterRequestRequestTypeDef
- DeleteReceiptRuleRequestRequestTypeDef
- DeleteReceiptRuleSetRequestRequestTypeDef
- DeleteTemplateRequestRequestTypeDef
- DeleteVerifiedEmailAddressRequestRequestTypeDef
- DeliveryOptionsTypeDef
- ReceiptRuleSetMetadataTypeDef
- ResponseMetadataTypeDef
- DescribeConfigurationSetRequestRequestTypeDef
- ReputationOptionsTypeDef
- DescribeReceiptRuleRequestRequestTypeDef
- DescribeReceiptRuleSetRequestRequestTypeDef
- KinesisFirehoseDestinationTypeDef
- SNSDestinationTypeDef
- ExtensionFieldTypeDef
- GetCustomVerificationEmailTemplateRequestRequestTypeDef
- GetIdentityDkimAttributesRequestRequestTypeDef
- IdentityDkimAttributesTypeDef
- GetIdentityMailFromDomainAttributesRequestRequestTypeDef
- IdentityMailFromDomainAttributesTypeDef
- GetIdentityNotificationAttributesRequestRequestTypeDef
- IdentityNotificationAttributesTypeDef
- GetIdentityPoliciesRequestRequestTypeDef
- GetIdentityVerificationAttributesRequestRequestTypeDef
- WaiterConfigTypeDef
- IdentityVerificationAttributesTypeDef
- SendDataPointTypeDef
- GetTemplateRequestRequestTypeDef
- LambdaActionTypeDef
- PaginatorConfigTypeDef
- ListConfigurationSetsRequestRequestTypeDef
- ListCustomVerificationEmailTemplatesRequestRequestTypeDef
- ListIdentitiesRequestRequestTypeDef
- ListIdentityPoliciesRequestRequestTypeDef
- ListReceiptRuleSetsRequestRequestTypeDef
- ListTemplatesRequestRequestTypeDef
- TemplateMetadataTypeDef
- TimestampTypeDef
- PutIdentityPolicyRequestRequestTypeDef
- S3ActionTypeDef
- SNSActionTypeDef
- StopActionTypeDef
- WorkmailActionTypeDef
- ReceiptIpFilterTypeDef
- ReorderReceiptRuleSetRequestRequestTypeDef
- SendCustomVerificationEmailRequestRequestTypeDef
- SetActiveReceiptRuleSetRequestRequestTypeDef
- SetIdentityDkimEnabledRequestRequestTypeDef
- SetIdentityFeedbackForwardingEnabledRequestRequestTypeDef
- SetIdentityHeadersInNotificationsEnabledRequestRequestTypeDef
- SetIdentityMailFromDomainRequestRequestTypeDef
- SetIdentityNotificationTopicRequestRequestTypeDef
- SetReceiptRulePositionRequestRequestTypeDef
- TestRenderTemplateRequestRequestTypeDef
- UpdateAccountSendingEnabledRequestRequestTypeDef
- UpdateConfigurationSetReputationMetricsEnabledRequestRequestTypeDef
- UpdateConfigurationSetSendingEnabledRequestRequestTypeDef
- UpdateCustomVerificationEmailTemplateRequestRequestTypeDef
- VerifyDomainDkimRequestRequestTypeDef
- VerifyDomainIdentityRequestRequestTypeDef
- VerifyEmailAddressRequestRequestTypeDef
- VerifyEmailIdentityRequestRequestTypeDef
- RawMessageTypeDef
- BodyTypeDef
- BulkEmailDestinationTypeDef
- SendTemplatedEmailRequestRequestTypeDef
- CloudWatchDestinationOutputTypeDef
- CloudWatchDestinationTypeDef
- CreateConfigurationSetRequestRequestTypeDef
- CreateConfigurationSetTrackingOptionsRequestRequestTypeDef
- UpdateConfigurationSetTrackingOptionsRequestRequestTypeDef
- CreateTemplateRequestRequestTypeDef
- UpdateTemplateRequestRequestTypeDef
- PutConfigurationSetDeliveryOptionsRequestRequestTypeDef
- EmptyResponseMetadataTypeDef
- GetAccountSendingEnabledResponseTypeDef
- GetCustomVerificationEmailTemplateResponseTypeDef
- GetIdentityPoliciesResponseTypeDef
- GetSendQuotaResponseTypeDef
- GetTemplateResponseTypeDef
- ListConfigurationSetsResponseTypeDef
- ListCustomVerificationEmailTemplatesResponseTypeDef
- ListIdentitiesResponseTypeDef
- ListIdentityPoliciesResponseTypeDef
- ListReceiptRuleSetsResponseTypeDef
- ListVerifiedEmailAddressesResponseTypeDef
- SendBounceResponseTypeDef
- SendBulkTemplatedEmailResponseTypeDef
- SendCustomVerificationEmailResponseTypeDef
- SendEmailResponseTypeDef
- SendRawEmailResponseTypeDef
- SendTemplatedEmailResponseTypeDef
- TestRenderTemplateResponseTypeDef
- VerifyDomainDkimResponseTypeDef
- VerifyDomainIdentityResponseTypeDef
- GetIdentityDkimAttributesResponseTypeDef
- GetIdentityMailFromDomainAttributesResponseTypeDef
- GetIdentityNotificationAttributesResponseTypeDef
- GetIdentityVerificationAttributesRequestWaitTypeDef
- GetIdentityVerificationAttributesResponseTypeDef
- GetSendStatisticsResponseTypeDef
- ListConfigurationSetsRequestPaginateTypeDef
- ListCustomVerificationEmailTemplatesRequestPaginateTypeDef
- ListIdentitiesRequestPaginateTypeDef
- ListReceiptRuleSetsRequestPaginateTypeDef
- ListTemplatesRequestPaginateTypeDef
- ListTemplatesResponseTypeDef
- MessageDsnTypeDef
- RecipientDsnFieldsTypeDef
- ReceiptActionTypeDef
- ReceiptFilterTypeDef
- SendRawEmailRequestRequestTypeDef
- MessageTypeDef
- SendBulkTemplatedEmailRequestRequestTypeDef
- EventDestinationOutputTypeDef
- CloudWatchDestinationUnionTypeDef
- BouncedRecipientInfoTypeDef
- ReceiptRuleOutputTypeDef
- ReceiptRuleTypeDef
- CreateReceiptFilterRequestRequestTypeDef
- ListReceiptFiltersResponseTypeDef
- SendEmailRequestRequestTypeDef
- DescribeConfigurationSetResponseTypeDef
- EventDestinationTypeDef
- SendBounceRequestRequestTypeDef
- DescribeActiveReceiptRuleSetResponseTypeDef
- DescribeReceiptRuleResponseTypeDef
- DescribeReceiptRuleSetResponseTypeDef
- CreateReceiptRuleRequestRequestTypeDef
- UpdateReceiptRuleRequestRequestTypeDef
- CreateConfigurationSetEventDestinationRequestRequestTypeDef
- UpdateConfigurationSetEventDestinationRequestRequestTypeDef