Skip to content

Template

Source code in docs_src/capo_ses/types/template.py
class Template(TypedDict, closed=True):
    template_name: "capo_ses.types.template_name.TemplateName"
    """<p>The name of the template. You use this name when you send email using the <code>SendTemplatedEmail</code> or <code>SendBulkTemplatedEmail</code> operations.</p>"""
    subject_part: NotRequired["capo_ses.types.subject_part.SubjectPart"]
    """<p>The subject line of the email.</p>"""
    text_part: NotRequired["capo_ses.types.text_part.TextPart"]
    """<p>The email body that is visible to recipients whose email clients do not display HTML content.</p>"""
    html_part: NotRequired["capo_ses.types.html_part.HtmlPart"]
    """<p>The HTML body of the email.</p>"""

html_part instance-attribute

html_part: NotRequired[HtmlPart]

The HTML body of the email.

subject_part instance-attribute

subject_part: NotRequired[SubjectPart]

The subject line of the email.

template_name instance-attribute

template_name: TemplateName

The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

text_part instance-attribute

text_part: NotRequired[TextPart]

The email body that is visible to recipients whose email clients do not display HTML content.