Struct aws_sdk_ses::model::StopAction
source · #[non_exhaustive]pub struct StopAction { /* private fields */ }
Expand description
When included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about setting a stop action in a receipt rule, see the Amazon SES Developer Guide.
Implementations§
source§impl StopAction
impl StopAction
sourcepub fn scope(&self) -> Option<&StopScope>
pub fn scope(&self) -> Option<&StopScope>
The scope of the StopAction. The only acceptable value is RuleSet
.
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 stop 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.
source§impl StopAction
impl StopAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StopAction
.
Trait Implementations§
source§impl Clone for StopAction
impl Clone for StopAction
source§fn clone(&self) -> StopAction
fn clone(&self) -> StopAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StopAction
impl Debug for StopAction
source§impl PartialEq<StopAction> for StopAction
impl PartialEq<StopAction> for StopAction
source§fn eq(&self, other: &StopAction) -> bool
fn eq(&self, other: &StopAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.