SES module#
Index > SES
Auto-generated documentation for SES type annotations stubs module mypy-boto3-ses.
How to install#
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 boto3-stubs
for SES
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[ses]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[ses]'
# standalone installation
python -m pip install mypy-boto3-ses
How to uninstall#
python -m pip uninstall -y mypy-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 mypy_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 mypy_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 mypy_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 mypy_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
- 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
- WaiterConfigTypeDef
- GetIdentityVerificationAttributesRequestRequestTypeDef
- 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
- GetIdentityVerificationAttributesRequestIdentityExistsWaitTypeDef
- GetIdentityVerificationAttributesResponseTypeDef
- GetSendStatisticsResponseTypeDef
- ListConfigurationSetsRequestListConfigurationSetsPaginateTypeDef
- ListCustomVerificationEmailTemplatesRequestListCustomVerificationEmailTemplatesPaginateTypeDef
- ListIdentitiesRequestListIdentitiesPaginateTypeDef
- ListReceiptRuleSetsRequestListReceiptRuleSetsPaginateTypeDef
- ListTemplatesRequestListTemplatesPaginateTypeDef
- 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