Struct aws_sdk_ses::model::BounceAction
source · #[non_exhaustive]pub struct BounceAction { /* private fields */ }
Expand description
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.
Implementations§
source§impl BounceAction
impl BounceAction
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
sourcepub fn smtp_reply_code(&self) -> Option<&str>
pub fn smtp_reply_code(&self) -> Option<&str>
The SMTP reply code, as defined by RFC 5321.
sourcepub fn status_code(&self) -> Option<&str>
pub fn status_code(&self) -> Option<&str>
The SMTP enhanced status code, as defined by RFC 3463.
source§impl BounceAction
impl BounceAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BounceAction
.
Trait Implementations§
source§impl Clone for BounceAction
impl Clone for BounceAction
source§fn clone(&self) -> BounceAction
fn clone(&self) -> BounceAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BounceAction
impl Debug for BounceAction
source§impl PartialEq<BounceAction> for BounceAction
impl PartialEq<BounceAction> for BounceAction
source§fn eq(&self, other: &BounceAction) -> bool
fn eq(&self, other: &BounceAction) -> bool
self
and other
values to be equal, and is used
by ==
.