Skip to content

CampaignEmailMessage

Source code in docs_src/capo_pinpoint/types/campaign_email_message.py
class CampaignEmailMessage(TypedDict, closed=True):
    body: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The body of the email for recipients whose email clients don't render HTML content.</p>"""
    from_address: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.</p>"""
    headers: NotRequired[
        "capo_pinpoint.types.list_of_message_header.ListOfMessageHeader"
    ]
    """<p>The list of <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader">MessageHeaders</a> for the email. You can have up to 15 MessageHeaders for each email.</p>"""
    html_body: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The body of the email, in HTML format, for recipients whose email clients render HTML content.</p>"""
    title: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The subject line, or title, of the email.</p>"""

body instance-attribute

body: NotRequired[__string]

The body of the email for recipients whose email clients don't render HTML content.

from_address instance-attribute

from_address: NotRequired[__string]

The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

headers instance-attribute

headers: NotRequired[ListOfMessageHeader]

The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.

html_body instance-attribute

html_body: NotRequired[__string]

The body of the email, in HTML format, for recipients whose email clients render HTML content.

title instance-attribute

title: NotRequired[__string]

The subject line, or title, of the email.