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 ==
.impl StructuralPartialEq for StopAction
Auto Trait Implementations§
impl Freeze for StopAction
impl RefUnwindSafe for StopAction
impl Send for StopAction
impl Sync for StopAction
impl Unpin for StopAction
impl UnwindSafe for StopAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more