SESV2 / Client / create_custom_verification_email_template

create_custom_verification_email_template#

SESV2.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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Exceptions

  • SESV2.Client.exceptions.BadRequestException

  • SESV2.Client.exceptions.AlreadyExistsException

  • SESV2.Client.exceptions.NotFoundException

  • SESV2.Client.exceptions.TooManyRequestsException

  • SESV2.Client.exceptions.LimitExceededException