Skip to content

BounceAction

Source code in docs_src/capo_ses/types/bounce_action.py
class BounceAction(TypedDict, closed=True):
    topic_arn: NotRequired["capo_ses.types.amazon_resource_name.AmazonResourceName"]
    """<p>The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">ListTopics</a> operation in Amazon SNS.</p> <p>For more information about Amazon SNS topics, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon SNS Developer Guide</a>.</p>"""
    smtp_reply_code: "capo_ses.types.bounce_smtp_reply_code.BounceSmtpReplyCode"
    """<p>The SMTP reply code, as defined by <a href="https://tools.ietf.org/html/rfc5321">RFC 5321</a>.</p>"""
    status_code: NotRequired["capo_ses.types.bounce_status_code.BounceStatusCode"]
    """<p>The SMTP enhanced status code, as defined by <a href="https://tools.ietf.org/html/rfc3463">RFC 3463</a>.</p>"""
    message: "capo_ses.types.bounce_message.BounceMessage"
    """<p>Human-readable text to include in the bounce message.</p>"""
    sender: "capo_ses.types.address.Address"
    """<p>The email address of the sender of the bounced email. This is the address from which the bounce message is sent.</p>"""

message instance-attribute

message: BounceMessage

Human-readable text to include in the bounce message.

sender instance-attribute

sender: Address

The email address of the sender of the bounced email. This is the address from which the bounce message is sent.

smtp_reply_code instance-attribute

smtp_reply_code: BounceSmtpReplyCode

The SMTP reply code, as defined by RFC 5321.

status_code instance-attribute

status_code: NotRequired[BounceStatusCode]

The SMTP enhanced status code, as defined by RFC 3463.

topic_arn instance-attribute

topic_arn: NotRequired[AmazonResourceName]

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.