Skip to content

SESClient#

Index > SES > SESClient

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

SESClient#

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

# SESClient usage example

from boto3.session import Session
from mypy_boto3_ses.client import SESClient

def get_ses_client() -> SESClient:
    return Session().client("ses")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("ses").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("ses")

try:
    do_something(client)
except (
    client.exceptions.AccountSendingPausedException,
    client.exceptions.AlreadyExistsException,
    client.exceptions.CannotDeleteException,
    client.exceptions.ClientError,
    client.exceptions.ConfigurationSetAlreadyExistsException,
    client.exceptions.ConfigurationSetDoesNotExistException,
    client.exceptions.ConfigurationSetSendingPausedException,
    client.exceptions.CustomVerificationEmailInvalidContentException,
    client.exceptions.CustomVerificationEmailTemplateAlreadyExistsException,
    client.exceptions.CustomVerificationEmailTemplateDoesNotExistException,
    client.exceptions.EventDestinationAlreadyExistsException,
    client.exceptions.EventDestinationDoesNotExistException,
    client.exceptions.FromEmailAddressNotVerifiedException,
    client.exceptions.InvalidCloudWatchDestinationException,
    client.exceptions.InvalidConfigurationSetException,
    client.exceptions.InvalidDeliveryOptionsException,
    client.exceptions.InvalidFirehoseDestinationException,
    client.exceptions.InvalidLambdaFunctionException,
    client.exceptions.InvalidPolicyException,
    client.exceptions.InvalidRenderingParameterException,
    client.exceptions.InvalidS3ConfigurationException,
    client.exceptions.InvalidSNSDestinationException,
    client.exceptions.InvalidSnsTopicException,
    client.exceptions.InvalidTemplateException,
    client.exceptions.InvalidTrackingOptionsException,
    client.exceptions.LimitExceededException,
    client.exceptions.MailFromDomainNotVerifiedException,
    client.exceptions.MessageRejected,
    client.exceptions.MissingRenderingAttributeException,
    client.exceptions.ProductionAccessNotGrantedException,
    client.exceptions.RuleDoesNotExistException,
    client.exceptions.RuleSetDoesNotExistException,
    client.exceptions.TemplateDoesNotExistException,
    client.exceptions.TrackingOptionsAlreadyExistsException,
    client.exceptions.TrackingOptionsDoesNotExistException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_ses.client import Exceptions

def handle_error(exc: Exceptions.AccountSendingPausedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("ses").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

clone_receipt_rule_set#

Creates a receipt rule set by cloning an existing one.

Type annotations and code completion for boto3.client("ses").clone_receipt_rule_set method. boto3 documentation

# clone_receipt_rule_set method definition

def clone_receipt_rule_set(
    self,
    *,
    RuleSetName: str,
    OriginalRuleSetName: str,
) -> Dict[str, Any]:
    ...
# clone_receipt_rule_set method usage example with argument unpacking

kwargs: CloneReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "OriginalRuleSetName": ...,
}

parent.clone_receipt_rule_set(**kwargs)
  1. See CloneReceiptRuleSetRequestRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("ses").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_configuration_set#

Creates a configuration set.

Type annotations and code completion for boto3.client("ses").create_configuration_set method. boto3 documentation

# create_configuration_set method definition

def create_configuration_set(
    self,
    *,
    ConfigurationSet: ConfigurationSetTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See ConfigurationSetTypeDef
# create_configuration_set method usage example with argument unpacking

kwargs: CreateConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSet": ...,
}

parent.create_configuration_set(**kwargs)
  1. See CreateConfigurationSetRequestRequestTypeDef

create_configuration_set_event_destination#

Creates a configuration set event destination.

Type annotations and code completion for boto3.client("ses").create_configuration_set_event_destination method. boto3 documentation

# create_configuration_set_event_destination method definition

def create_configuration_set_event_destination(
    self,
    *,
    ConfigurationSetName: str,
    EventDestination: EventDestinationTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See EventDestinationTypeDef
# create_configuration_set_event_destination method usage example with argument unpacking

kwargs: CreateConfigurationSetEventDestinationRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "EventDestination": ...,
}

parent.create_configuration_set_event_destination(**kwargs)
  1. See CreateConfigurationSetEventDestinationRequestRequestTypeDef

create_configuration_set_tracking_options#

Creates an association between a configuration set and a custom domain for open and click event tracking.

Type annotations and code completion for boto3.client("ses").create_configuration_set_tracking_options method. boto3 documentation

# create_configuration_set_tracking_options method definition

def create_configuration_set_tracking_options(
    self,
    *,
    ConfigurationSetName: str,
    TrackingOptions: TrackingOptionsTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See TrackingOptionsTypeDef
# create_configuration_set_tracking_options method usage example with argument unpacking

kwargs: CreateConfigurationSetTrackingOptionsRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "TrackingOptions": ...,
}

parent.create_configuration_set_tracking_options(**kwargs)
  1. See CreateConfigurationSetTrackingOptionsRequestRequestTypeDef

create_custom_verification_email_template#

Creates a new custom verification email template.

Type annotations and code completion for boto3.client("ses").create_custom_verification_email_template method. boto3 documentation

# create_custom_verification_email_template method definition

def create_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
    FromEmailAddress: str,
    TemplateSubject: str,
    TemplateContent: str,
    SuccessRedirectionURL: str,
    FailureRedirectionURL: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# create_custom_verification_email_template method usage example with argument unpacking

kwargs: CreateCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
    "FromEmailAddress": ...,
    "TemplateSubject": ...,
    "TemplateContent": ...,
    "SuccessRedirectionURL": ...,
    "FailureRedirectionURL": ...,
}

parent.create_custom_verification_email_template(**kwargs)
  1. See CreateCustomVerificationEmailTemplateRequestRequestTypeDef

create_receipt_filter#

Creates a new IP address filter.

Type annotations and code completion for boto3.client("ses").create_receipt_filter method. boto3 documentation

# create_receipt_filter method definition

def create_receipt_filter(
    self,
    *,
    Filter: ReceiptFilterTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See ReceiptFilterTypeDef
# create_receipt_filter method usage example with argument unpacking

kwargs: CreateReceiptFilterRequestRequestTypeDef = {  # (1)
    "Filter": ...,
}

parent.create_receipt_filter(**kwargs)
  1. See CreateReceiptFilterRequestRequestTypeDef

create_receipt_rule#

Creates a receipt rule.

Type annotations and code completion for boto3.client("ses").create_receipt_rule method. boto3 documentation

# create_receipt_rule method definition

def create_receipt_rule(
    self,
    *,
    RuleSetName: str,
    Rule: ReceiptRuleTypeDef,  # (1)
    After: str = ...,
) -> Dict[str, Any]:
    ...
  1. See ReceiptRuleTypeDef
# create_receipt_rule method usage example with argument unpacking

kwargs: CreateReceiptRuleRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "Rule": ...,
}

parent.create_receipt_rule(**kwargs)
  1. See CreateReceiptRuleRequestRequestTypeDef

create_receipt_rule_set#

Creates an empty receipt rule set.

Type annotations and code completion for boto3.client("ses").create_receipt_rule_set method. boto3 documentation

# create_receipt_rule_set method definition

def create_receipt_rule_set(
    self,
    *,
    RuleSetName: str,
) -> Dict[str, Any]:
    ...
# create_receipt_rule_set method usage example with argument unpacking

kwargs: CreateReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
}

parent.create_receipt_rule_set(**kwargs)
  1. See CreateReceiptRuleSetRequestRequestTypeDef

create_template#

Creates an email template.

Type annotations and code completion for boto3.client("ses").create_template method. boto3 documentation

# create_template method definition

def create_template(
    self,
    *,
    Template: TemplateTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See TemplateTypeDef
# create_template method usage example with argument unpacking

kwargs: CreateTemplateRequestRequestTypeDef = {  # (1)
    "Template": ...,
}

parent.create_template(**kwargs)
  1. See CreateTemplateRequestRequestTypeDef

delete_configuration_set#

Deletes a configuration set.

Type annotations and code completion for boto3.client("ses").delete_configuration_set method. boto3 documentation

# delete_configuration_set method definition

def delete_configuration_set(
    self,
    *,
    ConfigurationSetName: str,
) -> Dict[str, Any]:
    ...
# delete_configuration_set method usage example with argument unpacking

kwargs: DeleteConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.delete_configuration_set(**kwargs)
  1. See DeleteConfigurationSetRequestRequestTypeDef

delete_configuration_set_event_destination#

Deletes a configuration set event destination.

Type annotations and code completion for boto3.client("ses").delete_configuration_set_event_destination method. boto3 documentation

# delete_configuration_set_event_destination method definition

def delete_configuration_set_event_destination(
    self,
    *,
    ConfigurationSetName: str,
    EventDestinationName: str,
) -> Dict[str, Any]:
    ...
# delete_configuration_set_event_destination method usage example with argument unpacking

kwargs: DeleteConfigurationSetEventDestinationRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "EventDestinationName": ...,
}

parent.delete_configuration_set_event_destination(**kwargs)
  1. See DeleteConfigurationSetEventDestinationRequestRequestTypeDef

delete_configuration_set_tracking_options#

Deletes an association between a configuration set and a custom domain for open and click event tracking.

Type annotations and code completion for boto3.client("ses").delete_configuration_set_tracking_options method. boto3 documentation

# delete_configuration_set_tracking_options method definition

def delete_configuration_set_tracking_options(
    self,
    *,
    ConfigurationSetName: str,
) -> Dict[str, Any]:
    ...
# delete_configuration_set_tracking_options method usage example with argument unpacking

kwargs: DeleteConfigurationSetTrackingOptionsRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.delete_configuration_set_tracking_options(**kwargs)
  1. See DeleteConfigurationSetTrackingOptionsRequestRequestTypeDef

delete_custom_verification_email_template#

Deletes an existing custom verification email template.

Type annotations and code completion for boto3.client("ses").delete_custom_verification_email_template method. boto3 documentation

# delete_custom_verification_email_template method definition

def delete_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_custom_verification_email_template method usage example with argument unpacking

kwargs: DeleteCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.delete_custom_verification_email_template(**kwargs)
  1. See DeleteCustomVerificationEmailTemplateRequestRequestTypeDef

delete_identity#

Deletes the specified identity (an email address or a domain) from the list of verified identities.

Type annotations and code completion for boto3.client("ses").delete_identity method. boto3 documentation

# delete_identity method definition

def delete_identity(
    self,
    *,
    Identity: str,
) -> Dict[str, Any]:
    ...
# delete_identity method usage example with argument unpacking

kwargs: DeleteIdentityRequestRequestTypeDef = {  # (1)
    "Identity": ...,
}

parent.delete_identity(**kwargs)
  1. See DeleteIdentityRequestRequestTypeDef

delete_identity_policy#

Deletes the specified sending authorization policy for the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("ses").delete_identity_policy method. boto3 documentation

# delete_identity_policy method definition

def delete_identity_policy(
    self,
    *,
    Identity: str,
    PolicyName: str,
) -> Dict[str, Any]:
    ...
# delete_identity_policy method usage example with argument unpacking

kwargs: DeleteIdentityPolicyRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "PolicyName": ...,
}

parent.delete_identity_policy(**kwargs)
  1. See DeleteIdentityPolicyRequestRequestTypeDef

delete_receipt_filter#

Deletes the specified IP address filter.

Type annotations and code completion for boto3.client("ses").delete_receipt_filter method. boto3 documentation

# delete_receipt_filter method definition

def delete_receipt_filter(
    self,
    *,
    FilterName: str,
) -> Dict[str, Any]:
    ...
# delete_receipt_filter method usage example with argument unpacking

kwargs: DeleteReceiptFilterRequestRequestTypeDef = {  # (1)
    "FilterName": ...,
}

parent.delete_receipt_filter(**kwargs)
  1. See DeleteReceiptFilterRequestRequestTypeDef

delete_receipt_rule#

Deletes the specified receipt rule.

Type annotations and code completion for boto3.client("ses").delete_receipt_rule method. boto3 documentation

# delete_receipt_rule method definition

def delete_receipt_rule(
    self,
    *,
    RuleSetName: str,
    RuleName: str,
) -> Dict[str, Any]:
    ...
# delete_receipt_rule method usage example with argument unpacking

kwargs: DeleteReceiptRuleRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "RuleName": ...,
}

parent.delete_receipt_rule(**kwargs)
  1. See DeleteReceiptRuleRequestRequestTypeDef

delete_receipt_rule_set#

Deletes the specified receipt rule set and all of the receipt rules it contains.

Type annotations and code completion for boto3.client("ses").delete_receipt_rule_set method. boto3 documentation

# delete_receipt_rule_set method definition

def delete_receipt_rule_set(
    self,
    *,
    RuleSetName: str,
) -> Dict[str, Any]:
    ...
# delete_receipt_rule_set method usage example with argument unpacking

kwargs: DeleteReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
}

parent.delete_receipt_rule_set(**kwargs)
  1. See DeleteReceiptRuleSetRequestRequestTypeDef

delete_template#

Deletes an email template.

Type annotations and code completion for boto3.client("ses").delete_template method. boto3 documentation

# delete_template method definition

def delete_template(
    self,
    *,
    TemplateName: str,
) -> Dict[str, Any]:
    ...
# delete_template method usage example with argument unpacking

kwargs: DeleteTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.delete_template(**kwargs)
  1. See DeleteTemplateRequestRequestTypeDef

delete_verified_email_address#

Deprecated.

Type annotations and code completion for boto3.client("ses").delete_verified_email_address method. boto3 documentation

# delete_verified_email_address method definition

def delete_verified_email_address(
    self,
    *,
    EmailAddress: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_verified_email_address method usage example with argument unpacking

kwargs: DeleteVerifiedEmailAddressRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
}

parent.delete_verified_email_address(**kwargs)
  1. See DeleteVerifiedEmailAddressRequestRequestTypeDef

describe_active_receipt_rule_set#

Returns the metadata and receipt rules for the receipt rule set that is currently active.

Type annotations and code completion for boto3.client("ses").describe_active_receipt_rule_set method. boto3 documentation

# describe_active_receipt_rule_set method definition

def describe_active_receipt_rule_set(
    self,
) -> DescribeActiveReceiptRuleSetResponseTypeDef:  # (1)
    ...
  1. See DescribeActiveReceiptRuleSetResponseTypeDef

describe_configuration_set#

Returns the details of the specified configuration set.

Type annotations and code completion for boto3.client("ses").describe_configuration_set method. boto3 documentation

# describe_configuration_set method definition

def describe_configuration_set(
    self,
    *,
    ConfigurationSetName: str,
    ConfigurationSetAttributeNames: Sequence[ConfigurationSetAttributeType] = ...,  # (1)
) -> DescribeConfigurationSetResponseTypeDef:  # (2)
    ...
  1. See ConfigurationSetAttributeType
  2. See DescribeConfigurationSetResponseTypeDef
# describe_configuration_set method usage example with argument unpacking

kwargs: DescribeConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.describe_configuration_set(**kwargs)
  1. See DescribeConfigurationSetRequestRequestTypeDef

describe_receipt_rule#

Returns the details of the specified receipt rule.

Type annotations and code completion for boto3.client("ses").describe_receipt_rule method. boto3 documentation

# describe_receipt_rule method definition

def describe_receipt_rule(
    self,
    *,
    RuleSetName: str,
    RuleName: str,
) -> DescribeReceiptRuleResponseTypeDef:  # (1)
    ...
  1. See DescribeReceiptRuleResponseTypeDef
# describe_receipt_rule method usage example with argument unpacking

kwargs: DescribeReceiptRuleRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "RuleName": ...,
}

parent.describe_receipt_rule(**kwargs)
  1. See DescribeReceiptRuleRequestRequestTypeDef

describe_receipt_rule_set#

Returns the details of the specified receipt rule set.

Type annotations and code completion for boto3.client("ses").describe_receipt_rule_set method. boto3 documentation

# describe_receipt_rule_set method definition

def describe_receipt_rule_set(
    self,
    *,
    RuleSetName: str,
) -> DescribeReceiptRuleSetResponseTypeDef:  # (1)
    ...
  1. See DescribeReceiptRuleSetResponseTypeDef
# describe_receipt_rule_set method usage example with argument unpacking

kwargs: DescribeReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
}

parent.describe_receipt_rule_set(**kwargs)
  1. See DescribeReceiptRuleSetRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("ses").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_account_sending_enabled#

Returns the email sending status of the Amazon SES account for the current Region.

Type annotations and code completion for boto3.client("ses").get_account_sending_enabled method. boto3 documentation

# get_account_sending_enabled method definition

def get_account_sending_enabled(
    self,
) -> GetAccountSendingEnabledResponseTypeDef:  # (1)
    ...
  1. See GetAccountSendingEnabledResponseTypeDef

get_custom_verification_email_template#

Returns the custom email verification template for the template name you specify.

Type annotations and code completion for boto3.client("ses").get_custom_verification_email_template method. boto3 documentation

# get_custom_verification_email_template method definition

def get_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
) -> GetCustomVerificationEmailTemplateResponseTypeDef:  # (1)
    ...
  1. See GetCustomVerificationEmailTemplateResponseTypeDef
# get_custom_verification_email_template method usage example with argument unpacking

kwargs: GetCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.get_custom_verification_email_template(**kwargs)
  1. See GetCustomVerificationEmailTemplateRequestRequestTypeDef

get_identity_dkim_attributes#

Returns the current status of Easy DKIM signing for an entity.

Type annotations and code completion for boto3.client("ses").get_identity_dkim_attributes method. boto3 documentation

# get_identity_dkim_attributes method definition

def get_identity_dkim_attributes(
    self,
    *,
    Identities: Sequence[str],
) -> GetIdentityDkimAttributesResponseTypeDef:  # (1)
    ...
  1. See GetIdentityDkimAttributesResponseTypeDef
# get_identity_dkim_attributes method usage example with argument unpacking

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

parent.get_identity_dkim_attributes(**kwargs)
  1. See GetIdentityDkimAttributesRequestRequestTypeDef

get_identity_mail_from_domain_attributes#

Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).

Type annotations and code completion for boto3.client("ses").get_identity_mail_from_domain_attributes method. boto3 documentation

# get_identity_mail_from_domain_attributes method definition

def get_identity_mail_from_domain_attributes(
    self,
    *,
    Identities: Sequence[str],
) -> GetIdentityMailFromDomainAttributesResponseTypeDef:  # (1)
    ...
  1. See GetIdentityMailFromDomainAttributesResponseTypeDef
# get_identity_mail_from_domain_attributes method usage example with argument unpacking

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

parent.get_identity_mail_from_domain_attributes(**kwargs)
  1. See GetIdentityMailFromDomainAttributesRequestRequestTypeDef

get_identity_notification_attributes#

Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

Type annotations and code completion for boto3.client("ses").get_identity_notification_attributes method. boto3 documentation

# get_identity_notification_attributes method definition

def get_identity_notification_attributes(
    self,
    *,
    Identities: Sequence[str],
) -> GetIdentityNotificationAttributesResponseTypeDef:  # (1)
    ...
  1. See GetIdentityNotificationAttributesResponseTypeDef
# get_identity_notification_attributes method usage example with argument unpacking

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

parent.get_identity_notification_attributes(**kwargs)
  1. See GetIdentityNotificationAttributesRequestRequestTypeDef

get_identity_policies#

Returns the requested sending authorization policies for the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("ses").get_identity_policies method. boto3 documentation

# get_identity_policies method definition

def get_identity_policies(
    self,
    *,
    Identity: str,
    PolicyNames: Sequence[str],
) -> GetIdentityPoliciesResponseTypeDef:  # (1)
    ...
  1. See GetIdentityPoliciesResponseTypeDef
# get_identity_policies method usage example with argument unpacking

kwargs: GetIdentityPoliciesRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "PolicyNames": ...,
}

parent.get_identity_policies(**kwargs)
  1. See GetIdentityPoliciesRequestRequestTypeDef

get_identity_verification_attributes#

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

Type annotations and code completion for boto3.client("ses").get_identity_verification_attributes method. boto3 documentation

# get_identity_verification_attributes method definition

def get_identity_verification_attributes(
    self,
    *,
    Identities: Sequence[str],
) -> GetIdentityVerificationAttributesResponseTypeDef:  # (1)
    ...
  1. See GetIdentityVerificationAttributesResponseTypeDef
# get_identity_verification_attributes method usage example with argument unpacking

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

parent.get_identity_verification_attributes(**kwargs)
  1. See GetIdentityVerificationAttributesRequestRequestTypeDef

get_send_quota#

Provides the sending limits for the Amazon SES account.

Type annotations and code completion for boto3.client("ses").get_send_quota method. boto3 documentation

# get_send_quota method definition

def get_send_quota(
    self,
) -> GetSendQuotaResponseTypeDef:  # (1)
    ...
  1. See GetSendQuotaResponseTypeDef

get_send_statistics#

Provides sending statistics for the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").get_send_statistics method. boto3 documentation

# get_send_statistics method definition

def get_send_statistics(
    self,
) -> GetSendStatisticsResponseTypeDef:  # (1)
    ...
  1. See GetSendStatisticsResponseTypeDef

get_template#

Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.

Type annotations and code completion for boto3.client("ses").get_template method. boto3 documentation

# get_template method definition

def get_template(
    self,
    *,
    TemplateName: str,
) -> GetTemplateResponseTypeDef:  # (1)
    ...
  1. See GetTemplateResponseTypeDef
# get_template method usage example with argument unpacking

kwargs: GetTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.get_template(**kwargs)
  1. See GetTemplateRequestRequestTypeDef

list_configuration_sets#

Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").list_configuration_sets method. boto3 documentation

# list_configuration_sets method definition

def list_configuration_sets(
    self,
    *,
    NextToken: str = ...,
    MaxItems: int = ...,
) -> ListConfigurationSetsResponseTypeDef:  # (1)
    ...
  1. See ListConfigurationSetsResponseTypeDef
# list_configuration_sets method usage example with argument unpacking

kwargs: ListConfigurationSetsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_configuration_sets(**kwargs)
  1. See ListConfigurationSetsRequestRequestTypeDef

list_custom_verification_email_templates#

Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").list_custom_verification_email_templates method. boto3 documentation

# list_custom_verification_email_templates method definition

def list_custom_verification_email_templates(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListCustomVerificationEmailTemplatesResponseTypeDef:  # (1)
    ...
  1. See ListCustomVerificationEmailTemplatesResponseTypeDef
# list_custom_verification_email_templates method usage example with argument unpacking

kwargs: ListCustomVerificationEmailTemplatesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_custom_verification_email_templates(**kwargs)
  1. See ListCustomVerificationEmailTemplatesRequestRequestTypeDef

list_identities#

Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services account in the current Amazon Web Services Region, regardless of verification status.

Type annotations and code completion for boto3.client("ses").list_identities method. boto3 documentation

# list_identities method definition

def list_identities(
    self,
    *,
    IdentityType: IdentityTypeType = ...,  # (1)
    NextToken: str = ...,
    MaxItems: int = ...,
) -> ListIdentitiesResponseTypeDef:  # (2)
    ...
  1. See IdentityTypeType
  2. See ListIdentitiesResponseTypeDef
# list_identities method usage example with argument unpacking

kwargs: ListIdentitiesRequestRequestTypeDef = {  # (1)
    "IdentityType": ...,
}

parent.list_identities(**kwargs)
  1. See ListIdentitiesRequestRequestTypeDef

list_identity_policies#

Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("ses").list_identity_policies method. boto3 documentation

# list_identity_policies method definition

def list_identity_policies(
    self,
    *,
    Identity: str,
) -> ListIdentityPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListIdentityPoliciesResponseTypeDef
# list_identity_policies method usage example with argument unpacking

kwargs: ListIdentityPoliciesRequestRequestTypeDef = {  # (1)
    "Identity": ...,
}

parent.list_identity_policies(**kwargs)
  1. See ListIdentityPoliciesRequestRequestTypeDef

list_receipt_filters#

Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").list_receipt_filters method. boto3 documentation

# list_receipt_filters method definition

def list_receipt_filters(
    self,
) -> ListReceiptFiltersResponseTypeDef:  # (1)
    ...
  1. See ListReceiptFiltersResponseTypeDef

list_receipt_rule_sets#

Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").list_receipt_rule_sets method. boto3 documentation

# list_receipt_rule_sets method definition

def list_receipt_rule_sets(
    self,
    *,
    NextToken: str = ...,
) -> ListReceiptRuleSetsResponseTypeDef:  # (1)
    ...
  1. See ListReceiptRuleSetsResponseTypeDef
# list_receipt_rule_sets method usage example with argument unpacking

kwargs: ListReceiptRuleSetsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_receipt_rule_sets(**kwargs)
  1. See ListReceiptRuleSetsRequestRequestTypeDef

list_templates#

Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").list_templates method. boto3 documentation

# list_templates method definition

def list_templates(
    self,
    *,
    NextToken: str = ...,
    MaxItems: int = ...,
) -> ListTemplatesResponseTypeDef:  # (1)
    ...
  1. See ListTemplatesResponseTypeDef
# list_templates method usage example with argument unpacking

kwargs: ListTemplatesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_templates(**kwargs)
  1. See ListTemplatesRequestRequestTypeDef

list_verified_email_addresses#

Deprecated.

Type annotations and code completion for boto3.client("ses").list_verified_email_addresses method. boto3 documentation

# list_verified_email_addresses method definition

def list_verified_email_addresses(
    self,
) -> ListVerifiedEmailAddressesResponseTypeDef:  # (1)
    ...
  1. See ListVerifiedEmailAddressesResponseTypeDef

put_configuration_set_delivery_options#

Adds or updates the delivery options for a configuration set.

Type annotations and code completion for boto3.client("ses").put_configuration_set_delivery_options method. boto3 documentation

# put_configuration_set_delivery_options method definition

def put_configuration_set_delivery_options(
    self,
    *,
    ConfigurationSetName: str,
    DeliveryOptions: DeliveryOptionsTypeDef = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See DeliveryOptionsTypeDef
# put_configuration_set_delivery_options method usage example with argument unpacking

kwargs: PutConfigurationSetDeliveryOptionsRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.put_configuration_set_delivery_options(**kwargs)
  1. See PutConfigurationSetDeliveryOptionsRequestRequestTypeDef

put_identity_policy#

Adds or updates a sending authorization policy for the specified identity (an email address or a domain).

Type annotations and code completion for boto3.client("ses").put_identity_policy method. boto3 documentation

# put_identity_policy method definition

def put_identity_policy(
    self,
    *,
    Identity: str,
    PolicyName: str,
    Policy: str,
) -> Dict[str, Any]:
    ...
# put_identity_policy method usage example with argument unpacking

kwargs: PutIdentityPolicyRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "PolicyName": ...,
    "Policy": ...,
}

parent.put_identity_policy(**kwargs)
  1. See PutIdentityPolicyRequestRequestTypeDef

reorder_receipt_rule_set#

Reorders the receipt rules within a receipt rule set.

Type annotations and code completion for boto3.client("ses").reorder_receipt_rule_set method. boto3 documentation

# reorder_receipt_rule_set method definition

def reorder_receipt_rule_set(
    self,
    *,
    RuleSetName: str,
    RuleNames: Sequence[str],
) -> Dict[str, Any]:
    ...
# reorder_receipt_rule_set method usage example with argument unpacking

kwargs: ReorderReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "RuleNames": ...,
}

parent.reorder_receipt_rule_set(**kwargs)
  1. See ReorderReceiptRuleSetRequestRequestTypeDef

send_bounce#

Generates and sends a bounce message to the sender of an email you received through Amazon SES.

Type annotations and code completion for boto3.client("ses").send_bounce method. boto3 documentation

# send_bounce method definition

def send_bounce(
    self,
    *,
    OriginalMessageId: str,
    BounceSender: str,
    BouncedRecipientInfoList: Sequence[BouncedRecipientInfoTypeDef],  # (1)
    Explanation: str = ...,
    MessageDsn: MessageDsnTypeDef = ...,  # (2)
    BounceSenderArn: str = ...,
) -> SendBounceResponseTypeDef:  # (3)
    ...
  1. See BouncedRecipientInfoTypeDef
  2. See MessageDsnTypeDef
  3. See SendBounceResponseTypeDef
# send_bounce method usage example with argument unpacking

kwargs: SendBounceRequestRequestTypeDef = {  # (1)
    "OriginalMessageId": ...,
    "BounceSender": ...,
    "BouncedRecipientInfoList": ...,
}

parent.send_bounce(**kwargs)
  1. See SendBounceRequestRequestTypeDef

send_bulk_templated_email#

Composes an email message to multiple destinations.

Type annotations and code completion for boto3.client("ses").send_bulk_templated_email method. boto3 documentation

# send_bulk_templated_email method definition

def send_bulk_templated_email(
    self,
    *,
    Source: str,
    Template: str,
    DefaultTemplateData: str,
    Destinations: Sequence[BulkEmailDestinationTypeDef],  # (1)
    SourceArn: str = ...,
    ReplyToAddresses: Sequence[str] = ...,
    ReturnPath: str = ...,
    ReturnPathArn: str = ...,
    ConfigurationSetName: str = ...,
    DefaultTags: Sequence[MessageTagTypeDef] = ...,  # (2)
    TemplateArn: str = ...,
) -> SendBulkTemplatedEmailResponseTypeDef:  # (3)
    ...
  1. See BulkEmailDestinationTypeDef
  2. See MessageTagTypeDef
  3. See SendBulkTemplatedEmailResponseTypeDef
# send_bulk_templated_email method usage example with argument unpacking

kwargs: SendBulkTemplatedEmailRequestRequestTypeDef = {  # (1)
    "Source": ...,
    "Template": ...,
    "DefaultTemplateData": ...,
    "Destinations": ...,
}

parent.send_bulk_templated_email(**kwargs)
  1. See SendBulkTemplatedEmailRequestRequestTypeDef

send_custom_verification_email#

Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it.

Type annotations and code completion for boto3.client("ses").send_custom_verification_email method. boto3 documentation

# send_custom_verification_email method definition

def send_custom_verification_email(
    self,
    *,
    EmailAddress: str,
    TemplateName: str,
    ConfigurationSetName: str = ...,
) -> SendCustomVerificationEmailResponseTypeDef:  # (1)
    ...
  1. See SendCustomVerificationEmailResponseTypeDef
# send_custom_verification_email method usage example with argument unpacking

kwargs: SendCustomVerificationEmailRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
    "TemplateName": ...,
}

parent.send_custom_verification_email(**kwargs)
  1. See SendCustomVerificationEmailRequestRequestTypeDef

send_email#

Composes an email message and immediately queues it for sending.

Type annotations and code completion for boto3.client("ses").send_email method. boto3 documentation

# send_email method definition

def send_email(
    self,
    *,
    Source: str,
    Destination: DestinationTypeDef,  # (1)
    Message: MessageTypeDef,  # (2)
    ReplyToAddresses: Sequence[str] = ...,
    ReturnPath: str = ...,
    SourceArn: str = ...,
    ReturnPathArn: str = ...,
    Tags: Sequence[MessageTagTypeDef] = ...,  # (3)
    ConfigurationSetName: str = ...,
) -> SendEmailResponseTypeDef:  # (4)
    ...
  1. See DestinationTypeDef
  2. See MessageTypeDef
  3. See MessageTagTypeDef
  4. See SendEmailResponseTypeDef
# send_email method usage example with argument unpacking

kwargs: SendEmailRequestRequestTypeDef = {  # (1)
    "Source": ...,
    "Destination": ...,
    "Message": ...,
}

parent.send_email(**kwargs)
  1. See SendEmailRequestRequestTypeDef

send_raw_email#

Composes an email message and immediately queues it for sending.

Type annotations and code completion for boto3.client("ses").send_raw_email method. boto3 documentation

# send_raw_email method definition

def send_raw_email(
    self,
    *,
    RawMessage: RawMessageTypeDef,  # (1)
    Source: str = ...,
    Destinations: Sequence[str] = ...,
    FromArn: str = ...,
    SourceArn: str = ...,
    ReturnPathArn: str = ...,
    Tags: Sequence[MessageTagTypeDef] = ...,  # (2)
    ConfigurationSetName: str = ...,
) -> SendRawEmailResponseTypeDef:  # (3)
    ...
  1. See RawMessageTypeDef
  2. See MessageTagTypeDef
  3. See SendRawEmailResponseTypeDef
# send_raw_email method usage example with argument unpacking

kwargs: SendRawEmailRequestRequestTypeDef = {  # (1)
    "RawMessage": ...,
}

parent.send_raw_email(**kwargs)
  1. See SendRawEmailRequestRequestTypeDef

send_templated_email#

Composes an email message using an email template and immediately queues it for sending.

Type annotations and code completion for boto3.client("ses").send_templated_email method. boto3 documentation

# send_templated_email method definition

def send_templated_email(
    self,
    *,
    Source: str,
    Destination: DestinationTypeDef,  # (1)
    Template: str,
    TemplateData: str,
    ReplyToAddresses: Sequence[str] = ...,
    ReturnPath: str = ...,
    SourceArn: str = ...,
    ReturnPathArn: str = ...,
    Tags: Sequence[MessageTagTypeDef] = ...,  # (2)
    ConfigurationSetName: str = ...,
    TemplateArn: str = ...,
) -> SendTemplatedEmailResponseTypeDef:  # (3)
    ...
  1. See DestinationTypeDef
  2. See MessageTagTypeDef
  3. See SendTemplatedEmailResponseTypeDef
# send_templated_email method usage example with argument unpacking

kwargs: SendTemplatedEmailRequestRequestTypeDef = {  # (1)
    "Source": ...,
    "Destination": ...,
    "Template": ...,
    "TemplateData": ...,
}

parent.send_templated_email(**kwargs)
  1. See SendTemplatedEmailRequestRequestTypeDef

set_active_receipt_rule_set#

Sets the specified receipt rule set as the active receipt rule set.

Type annotations and code completion for boto3.client("ses").set_active_receipt_rule_set method. boto3 documentation

# set_active_receipt_rule_set method definition

def set_active_receipt_rule_set(
    self,
    *,
    RuleSetName: str = ...,
) -> Dict[str, Any]:
    ...
# set_active_receipt_rule_set method usage example with argument unpacking

kwargs: SetActiveReceiptRuleSetRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
}

parent.set_active_receipt_rule_set(**kwargs)
  1. See SetActiveReceiptRuleSetRequestRequestTypeDef

set_identity_dkim_enabled#

Enables or disables Easy DKIM signing of email sent from an identity.

Type annotations and code completion for boto3.client("ses").set_identity_dkim_enabled method. boto3 documentation

# set_identity_dkim_enabled method definition

def set_identity_dkim_enabled(
    self,
    *,
    Identity: str,
    DkimEnabled: bool,
) -> Dict[str, Any]:
    ...
# set_identity_dkim_enabled method usage example with argument unpacking

kwargs: SetIdentityDkimEnabledRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "DkimEnabled": ...,
}

parent.set_identity_dkim_enabled(**kwargs)
  1. See SetIdentityDkimEnabledRequestRequestTypeDef

set_identity_feedback_forwarding_enabled#

Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email.

Type annotations and code completion for boto3.client("ses").set_identity_feedback_forwarding_enabled method. boto3 documentation

# set_identity_feedback_forwarding_enabled method definition

def set_identity_feedback_forwarding_enabled(
    self,
    *,
    Identity: str,
    ForwardingEnabled: bool,
) -> Dict[str, Any]:
    ...
# set_identity_feedback_forwarding_enabled method usage example with argument unpacking

kwargs: SetIdentityFeedbackForwardingEnabledRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "ForwardingEnabled": ...,
}

parent.set_identity_feedback_forwarding_enabled(**kwargs)
  1. See SetIdentityFeedbackForwardingEnabledRequestRequestTypeDef

set_identity_headers_in_notifications_enabled#

Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.

Type annotations and code completion for boto3.client("ses").set_identity_headers_in_notifications_enabled method. boto3 documentation

# set_identity_headers_in_notifications_enabled method definition

def set_identity_headers_in_notifications_enabled(
    self,
    *,
    Identity: str,
    NotificationType: NotificationTypeType,  # (1)
    Enabled: bool,
) -> Dict[str, Any]:
    ...
  1. See NotificationTypeType
# set_identity_headers_in_notifications_enabled method usage example with argument unpacking

kwargs: SetIdentityHeadersInNotificationsEnabledRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "NotificationType": ...,
    "Enabled": ...,
}

parent.set_identity_headers_in_notifications_enabled(**kwargs)
  1. See SetIdentityHeadersInNotificationsEnabledRequestRequestTypeDef

set_identity_mail_from_domain#

Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).

Type annotations and code completion for boto3.client("ses").set_identity_mail_from_domain method. boto3 documentation

# set_identity_mail_from_domain method definition

def set_identity_mail_from_domain(
    self,
    *,
    Identity: str,
    MailFromDomain: str = ...,
    BehaviorOnMXFailure: BehaviorOnMXFailureType = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See BehaviorOnMXFailureType
# set_identity_mail_from_domain method usage example with argument unpacking

kwargs: SetIdentityMailFromDomainRequestRequestTypeDef = {  # (1)
    "Identity": ...,
}

parent.set_identity_mail_from_domain(**kwargs)
  1. See SetIdentityMailFromDomainRequestRequestTypeDef

set_identity_notification_topic#

Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications.

Type annotations and code completion for boto3.client("ses").set_identity_notification_topic method. boto3 documentation

# set_identity_notification_topic method definition

def set_identity_notification_topic(
    self,
    *,
    Identity: str,
    NotificationType: NotificationTypeType,  # (1)
    SnsTopic: str = ...,
) -> Dict[str, Any]:
    ...
  1. See NotificationTypeType
# set_identity_notification_topic method usage example with argument unpacking

kwargs: SetIdentityNotificationTopicRequestRequestTypeDef = {  # (1)
    "Identity": ...,
    "NotificationType": ...,
}

parent.set_identity_notification_topic(**kwargs)
  1. See SetIdentityNotificationTopicRequestRequestTypeDef

set_receipt_rule_position#

Sets the position of the specified receipt rule in the receipt rule set.

Type annotations and code completion for boto3.client("ses").set_receipt_rule_position method. boto3 documentation

# set_receipt_rule_position method definition

def set_receipt_rule_position(
    self,
    *,
    RuleSetName: str,
    RuleName: str,
    After: str = ...,
) -> Dict[str, Any]:
    ...
# set_receipt_rule_position method usage example with argument unpacking

kwargs: SetReceiptRulePositionRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "RuleName": ...,
}

parent.set_receipt_rule_position(**kwargs)
  1. See SetReceiptRulePositionRequestRequestTypeDef

test_render_template#

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

Type annotations and code completion for boto3.client("ses").test_render_template method. boto3 documentation

# test_render_template method definition

def test_render_template(
    self,
    *,
    TemplateName: str,
    TemplateData: str,
) -> TestRenderTemplateResponseTypeDef:  # (1)
    ...
  1. See TestRenderTemplateResponseTypeDef
# test_render_template method usage example with argument unpacking

kwargs: TestRenderTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
    "TemplateData": ...,
}

parent.test_render_template(**kwargs)
  1. See TestRenderTemplateRequestRequestTypeDef

update_account_sending_enabled#

Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").update_account_sending_enabled method. boto3 documentation

# update_account_sending_enabled method definition

def update_account_sending_enabled(
    self,
    *,
    Enabled: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# update_account_sending_enabled method usage example with argument unpacking

kwargs: UpdateAccountSendingEnabledRequestRequestTypeDef = {  # (1)
    "Enabled": ...,
}

parent.update_account_sending_enabled(**kwargs)
  1. See UpdateAccountSendingEnabledRequestRequestTypeDef

update_configuration_set_event_destination#

Updates the event destination of a configuration set.

Type annotations and code completion for boto3.client("ses").update_configuration_set_event_destination method. boto3 documentation

# update_configuration_set_event_destination method definition

def update_configuration_set_event_destination(
    self,
    *,
    ConfigurationSetName: str,
    EventDestination: EventDestinationTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See EventDestinationTypeDef
# update_configuration_set_event_destination method usage example with argument unpacking

kwargs: UpdateConfigurationSetEventDestinationRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "EventDestination": ...,
}

parent.update_configuration_set_event_destination(**kwargs)
  1. See UpdateConfigurationSetEventDestinationRequestRequestTypeDef

update_configuration_set_reputation_metrics_enabled#

Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a given Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").update_configuration_set_reputation_metrics_enabled method. boto3 documentation

# update_configuration_set_reputation_metrics_enabled method definition

def update_configuration_set_reputation_metrics_enabled(
    self,
    *,
    ConfigurationSetName: str,
    Enabled: bool,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# update_configuration_set_reputation_metrics_enabled method usage example with argument unpacking

kwargs: UpdateConfigurationSetReputationMetricsEnabledRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "Enabled": ...,
}

parent.update_configuration_set_reputation_metrics_enabled(**kwargs)
  1. See UpdateConfigurationSetReputationMetricsEnabledRequestRequestTypeDef

update_configuration_set_sending_enabled#

Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region.

Type annotations and code completion for boto3.client("ses").update_configuration_set_sending_enabled method. boto3 documentation

# update_configuration_set_sending_enabled method definition

def update_configuration_set_sending_enabled(
    self,
    *,
    ConfigurationSetName: str,
    Enabled: bool,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# update_configuration_set_sending_enabled method usage example with argument unpacking

kwargs: UpdateConfigurationSetSendingEnabledRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "Enabled": ...,
}

parent.update_configuration_set_sending_enabled(**kwargs)
  1. See UpdateConfigurationSetSendingEnabledRequestRequestTypeDef

update_configuration_set_tracking_options#

Modifies an association between a configuration set and a custom domain for open and click event tracking.

Type annotations and code completion for boto3.client("ses").update_configuration_set_tracking_options method. boto3 documentation

# update_configuration_set_tracking_options method definition

def update_configuration_set_tracking_options(
    self,
    *,
    ConfigurationSetName: str,
    TrackingOptions: TrackingOptionsTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See TrackingOptionsTypeDef
# update_configuration_set_tracking_options method usage example with argument unpacking

kwargs: UpdateConfigurationSetTrackingOptionsRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "TrackingOptions": ...,
}

parent.update_configuration_set_tracking_options(**kwargs)
  1. See UpdateConfigurationSetTrackingOptionsRequestRequestTypeDef

update_custom_verification_email_template#

Updates an existing custom verification email template.

Type annotations and code completion for boto3.client("ses").update_custom_verification_email_template method. boto3 documentation

# update_custom_verification_email_template method definition

def update_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
    FromEmailAddress: str = ...,
    TemplateSubject: str = ...,
    TemplateContent: str = ...,
    SuccessRedirectionURL: str = ...,
    FailureRedirectionURL: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# update_custom_verification_email_template method usage example with argument unpacking

kwargs: UpdateCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.update_custom_verification_email_template(**kwargs)
  1. See UpdateCustomVerificationEmailTemplateRequestRequestTypeDef

update_receipt_rule#

Updates a receipt rule.

Type annotations and code completion for boto3.client("ses").update_receipt_rule method. boto3 documentation

# update_receipt_rule method definition

def update_receipt_rule(
    self,
    *,
    RuleSetName: str,
    Rule: ReceiptRuleTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See ReceiptRuleTypeDef
# update_receipt_rule method usage example with argument unpacking

kwargs: UpdateReceiptRuleRequestRequestTypeDef = {  # (1)
    "RuleSetName": ...,
    "Rule": ...,
}

parent.update_receipt_rule(**kwargs)
  1. See UpdateReceiptRuleRequestRequestTypeDef

update_template#

Updates an email template.

Type annotations and code completion for boto3.client("ses").update_template method. boto3 documentation

# update_template method definition

def update_template(
    self,
    *,
    Template: TemplateTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See TemplateTypeDef
# update_template method usage example with argument unpacking

kwargs: UpdateTemplateRequestRequestTypeDef = {  # (1)
    "Template": ...,
}

parent.update_template(**kwargs)
  1. See UpdateTemplateRequestRequestTypeDef

verify_domain_dkim#

Returns a set of DKIM tokens for a domain identity.

Type annotations and code completion for boto3.client("ses").verify_domain_dkim method. boto3 documentation

# verify_domain_dkim method definition

def verify_domain_dkim(
    self,
    *,
    Domain: str,
) -> VerifyDomainDkimResponseTypeDef:  # (1)
    ...
  1. See VerifyDomainDkimResponseTypeDef
# verify_domain_dkim method usage example with argument unpacking

kwargs: VerifyDomainDkimRequestRequestTypeDef = {  # (1)
    "Domain": ...,
}

parent.verify_domain_dkim(**kwargs)
  1. See VerifyDomainDkimRequestRequestTypeDef

verify_domain_identity#

Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it.

Type annotations and code completion for boto3.client("ses").verify_domain_identity method. boto3 documentation

# verify_domain_identity method definition

def verify_domain_identity(
    self,
    *,
    Domain: str,
) -> VerifyDomainIdentityResponseTypeDef:  # (1)
    ...
  1. See VerifyDomainIdentityResponseTypeDef
# verify_domain_identity method usage example with argument unpacking

kwargs: VerifyDomainIdentityRequestRequestTypeDef = {  # (1)
    "Domain": ...,
}

parent.verify_domain_identity(**kwargs)
  1. See VerifyDomainIdentityRequestRequestTypeDef

verify_email_address#

Deprecated.

Type annotations and code completion for boto3.client("ses").verify_email_address method. boto3 documentation

# verify_email_address method definition

def verify_email_address(
    self,
    *,
    EmailAddress: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# verify_email_address method usage example with argument unpacking

kwargs: VerifyEmailAddressRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
}

parent.verify_email_address(**kwargs)
  1. See VerifyEmailAddressRequestRequestTypeDef

verify_email_identity#

Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it.

Type annotations and code completion for boto3.client("ses").verify_email_identity method. boto3 documentation

# verify_email_identity method definition

def verify_email_identity(
    self,
    *,
    EmailAddress: str,
) -> Dict[str, Any]:
    ...
# verify_email_identity method usage example with argument unpacking

kwargs: VerifyEmailIdentityRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
}

parent.verify_email_identity(**kwargs)
  1. See VerifyEmailIdentityRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("ses").get_paginator method with overloads.

get_waiter#

Type annotations and code completion for boto3.client("ses").get_waiter method with overloads.