Struct aws_sdk_ses::input::SendBounceInput
source · [−]#[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
sourceimpl SendBounceInput
impl SendBounceInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SendBounceInput
sourceimpl SendBounceInput
impl SendBounceInput
sourcepub fn original_message_id(&self) -> Option<&str>
pub fn original_message_id(&self) -> Option<&str>
The message ID of the message to be bounced.
sourcepub fn bounce_sender(&self) -> Option<&str>
pub fn bounce_sender(&self) -> Option<&str>
The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.
sourcepub fn explanation(&self) -> Option<&str>
pub fn explanation(&self) -> Option<&str>
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.
sourcepub fn message_dsn(&self) -> Option<&MessageDsn>
pub fn message_dsn(&self) -> Option<&MessageDsn>
Message-related DSN fields. If not specified, Amazon SES will choose the values.
sourcepub fn bounced_recipient_info_list(&self) -> Option<&[BouncedRecipientInfo]>
pub fn bounced_recipient_info_list(&self) -> Option<&[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.
sourcepub fn bounce_sender_arn(&self) -> Option<&str>
pub fn bounce_sender_arn(&self) -> Option<&str>
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
sourceimpl Clone for SendBounceInput
impl Clone for SendBounceInput
sourcefn clone(&self) -> SendBounceInput
fn clone(&self) -> SendBounceInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SendBounceInput
impl Debug for SendBounceInput
sourceimpl PartialEq<SendBounceInput> for SendBounceInput
impl PartialEq<SendBounceInput> for SendBounceInput
sourcefn eq(&self, other: &SendBounceInput) -> bool
fn eq(&self, other: &SendBounceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SendBounceInput) -> bool
fn ne(&self, other: &SendBounceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SendBounceInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more