Struct aws_sdk_ses::model::ReceiptAction
source · #[non_exhaustive]pub struct ReceiptAction { /* private fields */ }
Expand description
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
Implementations§
source§impl ReceiptAction
impl ReceiptAction
sourcepub fn s3_action(&self) -> Option<&S3Action>
pub fn s3_action(&self) -> Option<&S3Action>
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
sourcepub fn bounce_action(&self) -> Option<&BounceAction>
pub fn bounce_action(&self) -> Option<&BounceAction>
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
sourcepub fn workmail_action(&self) -> Option<&WorkmailAction>
pub fn workmail_action(&self) -> Option<&WorkmailAction>
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
sourcepub fn lambda_action(&self) -> Option<&LambdaAction>
pub fn lambda_action(&self) -> Option<&LambdaAction>
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
sourcepub fn stop_action(&self) -> Option<&StopAction>
pub fn stop_action(&self) -> Option<&StopAction>
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
sourcepub fn add_header_action(&self) -> Option<&AddHeaderAction>
pub fn add_header_action(&self) -> Option<&AddHeaderAction>
Adds a header to the received email.
sourcepub fn sns_action(&self) -> Option<&SnsAction>
pub fn sns_action(&self) -> Option<&SnsAction>
Publishes the email content within a notification to Amazon SNS.
source§impl ReceiptAction
impl ReceiptAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReceiptAction
.
Trait Implementations§
source§impl Clone for ReceiptAction
impl Clone for ReceiptAction
source§fn clone(&self) -> ReceiptAction
fn clone(&self) -> ReceiptAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReceiptAction
impl Debug for ReceiptAction
source§impl PartialEq<ReceiptAction> for ReceiptAction
impl PartialEq<ReceiptAction> for ReceiptAction
source§fn eq(&self, other: &ReceiptAction) -> bool
fn eq(&self, other: &ReceiptAction) -> bool
self
and other
values to be equal, and is used
by ==
.