Struct aws_sdk_ses::types::StopAction
source · #[non_exhaustive]pub struct StopAction {
pub scope: StopScope,
pub topic_arn: Option<String>,
}
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.
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.scope: StopScope
The scope of the StopAction. The only acceptable value is RuleSet
.
topic_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
Implementations§
source§impl StopAction
impl StopAction
sourcepub fn scope(&self) -> &StopScope
pub fn scope(&self) -> &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. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
source§impl StopAction
impl StopAction
sourcepub fn builder() -> StopActionBuilder
pub fn builder() -> StopActionBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StopAction
impl Debug for StopAction
source§impl PartialEq for StopAction
impl PartialEq for StopAction
source§fn eq(&self, other: &StopAction) -> bool
fn eq(&self, other: &StopAction) -> bool
self
and other
values to be equal, and is used
by ==
.