Skip to main content

ISESV2TestRenderEmailTemplateRequest

Interface in AWS.SESV2

Interface for TestRenderEmailTemplate requests.

Ancestors

Properties

TemplateName

property TemplateName: string

The name of the email template to render for testing.

This must be the name of an existing email template in your Amazon SES account that you want to test with personalization data. The template contains the structure, content, and replacement tags that will be processed during rendering. This field is required and must be at least 1 character in length. The template must exist before rendering can be tested, or the operation will fail with a ESESV2NotFoundException.

TemplateData

property TemplateData: string

The JSON object containing replacement values to apply to the email template.

This parameter is a JSON object consisting of key-value pairs where the keys correspond to replacement tags (placeholders) in the email template. Amazon SES will replace these tags with the provided values during the rendering process. The JSON data enables testing personalized content by simulating real recipient data such as names, addresses, account information, or any other dynamic content that would be inserted into the template during actual email sending. This field is required and has a maximum length of 262144 characters (256 KB). The JSON must be well-formed and contain keys that match the replacement tags defined in the specified email template. Example format: {"firstName":"John", "lastName":"Doe", "accountType":"Premium"}