Skip to content

Content

Source code in docs_src/capo_pinpoint_email/types/content.py
class Content(TypedDict, closed=True):
    data: "capo_pinpoint_email.types.message_data.MessageData"
    """<p>The content of the message itself.</p>"""
    charset: NotRequired["capo_pinpoint_email.types.charset.Charset"]
    """<p>The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify <code>UTF-8</code>, <code>ISO-8859-1</code>, or <code>Shift_JIS</code>.</p>"""

charset instance-attribute

charset: NotRequired[Charset]

The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.

data instance-attribute

The content of the message itself.