Amazon Simple Email Service
API Reference (API Version 2010-12-01)

CreateTemplate

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.

Request Parameters

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

Template

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

Type: Template object

Required: Yes

Errors

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

AlreadyExists

Indicates that a resource could not be created because of a naming conflict.

HTTP Status Code: 400

InvalidTemplate

Indicates that the template that you specified could not be rendered. This issue may occur when a template refers to a partial that does not exist.

HTTP Status Code: 400

LimitExceeded

Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.

HTTP Status Code: 400

See Also

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