Skip to content

BounceAction

Source code in docs_src/capo_mailmanager/types/bounce_action.py
class BounceAction(TypedDict, closed=True):
    action_failure_policy: NotRequired[
        "capo_mailmanager.types.action_failure_policy.ActionFailurePolicy"
    ]
    """<p>A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.</p>"""
    role_arn: "capo_mailmanager.types.iam_role_arn.IamRoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.</p>"""
    sender: "capo_mailmanager.types.email_address.EmailAddress"
    """<p>The sender email address of the bounce message.</p>"""
    status_code: "capo_mailmanager.types.status_code.StatusCode"
    """<p>The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).</p>"""
    smtp_reply_code: "capo_mailmanager.types.smtp_reply_code.SmtpReplyCode"
    """<p>The SMTP reply code for the bounce, as defined by RFC 5321.</p>"""
    diagnostic_message: "capo_mailmanager.types.diagnostic_message.DiagnosticMessage"
    """<p>The diagnostic message included in the Diagnostic-Code header of the bounce.</p>"""
    message: NotRequired["capo_mailmanager.types.bounce_message.BounceMessage"]
    """<p>The human-readable text to include in the bounce message.</p>"""

action_failure_policy instance-attribute

action_failure_policy: NotRequired[ActionFailurePolicy]

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.

diagnostic_message instance-attribute

diagnostic_message: DiagnosticMessage

The diagnostic message included in the Diagnostic-Code header of the bounce.

message instance-attribute

message: NotRequired[BounceMessage]

The human-readable text to include in the bounce message.

role_arn instance-attribute

role_arn: IamRoleArn

The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

sender instance-attribute

sender: EmailAddress

The sender email address of the bounce message.

smtp_reply_code instance-attribute

smtp_reply_code: SmtpReplyCode

The SMTP reply code for the bounce, as defined by RFC 5321.

status_code instance-attribute

status_code: StatusCode

The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).