Skip to content

Template

Source code in docs_src/capo_sesv2/types/template.py
class Template(TypedDict, closed=True):
    template_name: NotRequired["capo_sesv2.types.email_template_name.EmailTemplateName"]
    """<p>The name of the template. You will refer to this name when you send email using the <code>SendEmail</code> or <code>SendBulkEmail</code> operations. </p>"""
    template_arn: NotRequired[
        "capo_sesv2.types.amazon_resource_name.AmazonResourceName"
    ]
    """<p>The Amazon Resource Name (ARN) of the template.</p>"""
    template_content: NotRequired[
        "capo_sesv2.types.email_template_content.EmailTemplateContent"
    ]
    """<p>The content of the template.</p> <note> <p>Amazon SES supports only simple substitions when you send email using the <code>SendEmail</code> or <code>SendBulkEmail</code> operations and you provide the full template content in the request.</p> </note>"""
    template_data: NotRequired["capo_sesv2.types.email_template_data.EmailTemplateData"]
    """<p>An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.</p>"""
    headers: NotRequired["capo_sesv2.types.message_header_list.MessageHeaderList"]
    """<p>The list of message headers that will be added to the email message.</p>"""
    attachments: NotRequired["capo_sesv2.types.attachment_list.AttachmentList"]
    """<p> The List of attachments to include in your email. All recipients will receive the same attachments.</p>"""

attachments instance-attribute

attachments: NotRequired[AttachmentList]

The List of attachments to include in your email. All recipients will receive the same attachments.

headers instance-attribute

headers: NotRequired[MessageHeaderList]

The list of message headers that will be added to the email message.

template_arn instance-attribute

template_arn: NotRequired[AmazonResourceName]

The Amazon Resource Name (ARN) of the template.

template_content instance-attribute

template_content: NotRequired[EmailTemplateContent]

The content of the template.

Amazon SES supports only simple substitions when you send email using the SendEmail or SendBulkEmail operations and you provide the full template content in the request.

template_data instance-attribute

template_data: NotRequired[EmailTemplateData]

An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.

template_name instance-attribute

template_name: NotRequired[EmailTemplateName]

The name of the template. You will refer to this name when you send email using the SendEmail or SendBulkEmail operations.