GetTemplate - Amazon Simple Email Service

GetTemplate

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.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

TemplateName

The name of the template to retrieve.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

Template

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

Type: Template object

Errors

For information about the errors that are common to all actions, see Common Errors.

TemplateDoesNotExist

Indicates that the Template object you specified does not exist in your Amazon SES account.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: