Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StopAction = StopAction' {}
- newStopAction :: StopScope -> StopAction
- stopAction_topicArn :: Lens' StopAction (Maybe Text)
- stopAction_scope :: Lens' StopAction StopScope
Documentation
data StopAction Source #
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.
See: newStopAction
smart constructor.
StopAction' | |
|
Instances
Create a value of StopAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:topicArn:StopAction'
, stopAction_topicArn
- 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.
$sel:scope:StopAction'
, stopAction_scope
- The scope of the StopAction. The only acceptable value is RuleSet
.
stopAction_topicArn :: Lens' StopAction (Maybe Text) Source #
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.
stopAction_scope :: Lens' StopAction StopScope Source #
The scope of the StopAction. The only acceptable value is RuleSet
.