Skip to content

NotifyEmailType

Source code in docs_src/capo_cognito_identity_provider/types/notify_email_type.py
class NotifyEmailType(TypedDict, closed=True):
    subject: "capo_cognito_identity_provider.types.email_notification_subject_type.EmailNotificationSubjectType"
    """<p>The subject of the threat protection email notification.</p>"""
    html_body: NotRequired[
        "capo_cognito_identity_provider.types.email_notification_body_type.EmailNotificationBodyType"
    ]
    """<p>The body of an email notification formatted in HTML. Choose an <code>HtmlBody</code> or a <code>TextBody</code> to send an HTML-formatted or plaintext message, respectively.</p>"""
    text_body: NotRequired[
        "capo_cognito_identity_provider.types.email_notification_body_type.EmailNotificationBodyType"
    ]
    """<p>The body of an email notification formatted in plaintext. Choose an <code>HtmlBody</code> or a <code>TextBody</code> to send an HTML-formatted or plaintext message, respectively.</p>"""

html_body instance-attribute

html_body: NotRequired[EmailNotificationBodyType]

The body of an email notification formatted in HTML. Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.

subject instance-attribute

The subject of the threat protection email notification.

text_body instance-attribute

text_body: NotRequired[EmailNotificationBodyType]

The body of an email notification formatted in plaintext. Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.