create_email_template
(**kwargs)¶Creates 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.create_email_template(
TemplateName='string',
TemplateContent={
'Subject': 'string',
'Text': 'string',
'Html': 'string'
}
)
[REQUIRED]
The name of the template.
[REQUIRED]
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
The subject line of the email.
The email body that will be visible to recipients whose email clients do not display HTML.
The HTML body of the email.
dict
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.AlreadyExistsException
SESV2.Client.exceptions.TooManyRequestsException
SESV2.Client.exceptions.BadRequestException
SESV2.Client.exceptions.LimitExceededException