Skip to content

Bounce

Source code in docs_src/capo_sesv2/types/bounce.py
class Bounce(TypedDict, closed=True):
    bounce_type: NotRequired["capo_sesv2.types.bounce_type.BounceType"]
    """<p>The type of the bounce, as determined by SES. Can be one of <code>UNDETERMINED</code>, <code>TRANSIENT</code>, or <code>PERMANENT</code> </p>"""
    bounce_sub_type: NotRequired["capo_sesv2.types.bounce_sub_type.BounceSubType"]
    """<p>The subtype of the bounce, as determined by SES.</p>"""
    diagnostic_code: NotRequired["capo_sesv2.types.diagnostic_code.DiagnosticCode"]
    """<p>The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the <code>Diagnostic-Code</code> was provided in the DSN. </p>"""

bounce_sub_type instance-attribute

bounce_sub_type: NotRequired[BounceSubType]

The subtype of the bounce, as determined by SES.

bounce_type instance-attribute

bounce_type: NotRequired[BounceType]

The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT

diagnostic_code instance-attribute

diagnostic_code: NotRequired[DiagnosticCode]

The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.