Skip to content

SendBounceRequest

Source code in docs_src/capo_ses/types/send_bounce_request.py
class SendBounceRequest(TypedDict, closed=True):
    original_message_id: "capo_ses.types.message_id.MessageId"
    """<p>The message ID of the message to be bounced.</p>"""
    bounce_sender: "capo_ses.types.address.Address"
    """<p>The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.</p>"""
    explanation: NotRequired["capo_ses.types.explanation.Explanation"]
    """<p>Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.</p>"""
    message_dsn: NotRequired["capo_ses.types.message_dsn.MessageDsn"]
    """<p>Message-related DSN fields. If not specified, Amazon SES chooses the values.</p>"""
    bounced_recipient_info_list: (
        "capo_ses.types.bounced_recipient_info_list.BouncedRecipientInfoList"
    )
    """<p>A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one <code>BouncedRecipientInfo</code> in the list.</p>"""
    bounce_sender_arn: NotRequired[
        "capo_ses.types.amazon_resource_name.AmazonResourceName"
    ]
    """<p>This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the "From" header of the bounce. For more information about sending authorization, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/sending-authorization.html">Amazon SES Developer Guide</a>.</p>"""

bounce_sender instance-attribute

bounce_sender: Address

The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.

bounce_sender_arn instance-attribute

bounce_sender_arn: NotRequired[AmazonResourceName]

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide.

bounced_recipient_info_list instance-attribute

bounced_recipient_info_list: BouncedRecipientInfoList

A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo in the list.

explanation instance-attribute

explanation: NotRequired[Explanation]

Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.

message_dsn instance-attribute

message_dsn: NotRequired[MessageDsn]

Message-related DSN fields. If not specified, Amazon SES chooses the values.

original_message_id instance-attribute

original_message_id: MessageId

The message ID of the message to be bounced.