Struct aws_sdk_ses::input::SendBounceInput [−][src]
#[non_exhaustive]pub struct SendBounceInput {
pub original_message_id: Option<String>,
pub bounce_sender: Option<String>,
pub explanation: Option<String>,
pub message_dsn: Option<MessageDsn>,
pub bounced_recipient_info_list: Option<Vec<BouncedRecipientInfo>>,
pub bounce_sender_arn: Option<String>,
}
Expand description
Represents a request to send a bounce message to the sender of an email you received through Amazon SES.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.original_message_id: Option<String>
The message ID of the message to be bounced.
bounce_sender: Option<String>
The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.
explanation: Option<String>
Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.
message_dsn: Option<MessageDsn>
Message-related DSN fields. If not specified, Amazon SES will choose the values.
bounced_recipient_info_list: Option<Vec<BouncedRecipientInfo>>
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.
bounce_sender_arn: Option<String>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendBounce, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendBounce, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendBounce
>
Creates a new builder-style object to manufacture SendBounceInput
The message ID of the message to be bounced.
The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.
Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.
Message-related DSN fields. If not specified, Amazon SES will choose the values.
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendBounceInput
impl Send for SendBounceInput
impl Sync for SendBounceInput
impl Unpin for SendBounceInput
impl UnwindSafe for SendBounceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more