SES / Client / create_custom_verification_email_template

create_custom_verification_email_template#

SES.Client.create_custom_verification_email_template(**kwargs)#

Creates a new custom verification email template.

For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.create_custom_verification_email_template(
    TemplateName='string',
    FromEmailAddress='string',
    TemplateSubject='string',
    TemplateContent='string',
    SuccessRedirectionURL='string',
    FailureRedirectionURL='string'
)
Parameters:
  • TemplateName (string) –

    [REQUIRED]

    The name of the custom verification email template.

  • FromEmailAddress (string) –

    [REQUIRED]

    The email address that the custom verification email is sent from.

  • TemplateSubject (string) –

    [REQUIRED]

    The subject line of the custom verification email.

  • TemplateContent (string) –

    [REQUIRED]

    The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom Verification Email Frequently Asked Questions in the Amazon SES Developer Guide.

  • SuccessRedirectionURL (string) –

    [REQUIRED]

    The URL that the recipient of the verification email is sent to if his or her address is successfully verified.

  • FailureRedirectionURL (string) –

    [REQUIRED]

    The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.

Returns:

None

Exceptions

  • SES.Client.exceptions.CustomVerificationEmailTemplateAlreadyExistsException

  • SES.Client.exceptions.FromEmailAddressNotVerifiedException

  • SES.Client.exceptions.CustomVerificationEmailInvalidContentException

  • SES.Client.exceptions.LimitExceededException