SES.Client.
list_templates
(**kwargs)¶Lists the email templates present in your Amazon SES account in the current AWS Region.
You can execute this operation no more than once per second.
See also: AWS API Documentation
Request Syntax
response = client.list_templates(
NextToken='string',
MaxItems=123
)
ListTemplates
to indicate the position in the list of email templates.dict
Response Syntax
{
'TemplatesMetadata': [
{
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TemplatesMetadata (list) --
An array the contains the name and creation time stamp for each template in your Amazon SES account.
(dict) --
Contains information about an email template.
Name (string) --
The name of the template.
CreatedTimestamp (datetime) --
The time and date the template was created.
NextToken (string) --
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent call to ListTemplates
to retrieve the next 50 email templates.