Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_email_template

update_email_template(**kwargs)

Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see 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.update_email_template(
    TemplateName='string',
    TemplateContent={
        'Subject': 'string',
        'Text': 'string',
        'Html': 'string'
    }
)
Parameters
  • TemplateName (string) --

    [REQUIRED]

    The name of the template.

  • TemplateContent (dict) --

    [REQUIRED]

    The content of the email template, composed of a subject line, an HTML part, and a text-only part.

    • Subject (string) --

      The subject line of the email.

    • Text (string) --

      The email body that will be visible to recipients whose email clients do not display HTML.

    • Html (string) --

      The HTML body of the email.

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.NotFoundException
  • SESV2.Client.exceptions.TooManyRequestsException
  • SESV2.Client.exceptions.BadRequestException