Skip to content

CreateEmailTemplateRequest

Source code in docs_src/capo_sesv2/types/create_email_template_request.py
class CreateEmailTemplateRequest(TypedDict, closed=True):
    template_name: "capo_sesv2.types.email_template_name.EmailTemplateName"
    """<p>The name of the template.</p>"""
    template_content: "capo_sesv2.types.email_template_content.EmailTemplateContent"
    """<p>The content of the email template, composed of a subject line, an HTML part, and a text-only part.</p>"""
    tags: NotRequired["capo_sesv2.types.tag_list.TagList"]
    """<p>An array of objects that define the tags (keys and values) to associate with the email template.</p>"""

tags instance-attribute

tags: NotRequired[TagList]

An array of objects that define the tags (keys and values) to associate with the email template.

template_content instance-attribute

template_content: EmailTemplateContent

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

template_name instance-attribute

template_name: EmailTemplateName

The name of the template.