get_email_template
(**kwargs)¶Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
See also: AWS API Documentation
Request Syntax
response = client.get_email_template(
TemplateName='string'
)
[REQUIRED]
The name of the template.
{
'TemplateName': 'string',
'TemplateContent': {
'Subject': 'string',
'Text': 'string',
'Html': 'string'
}
}
Response Structure
The following element is returned by the service.
The name of the template.
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.
Exceptions
SESV2.Client.exceptions.NotFoundException
SESV2.Client.exceptions.TooManyRequestsException
SESV2.Client.exceptions.BadRequestException