libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.Types.StopAction

Description

 
Synopsis

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.

Constructors

StopAction' 

Fields

  • topicArn :: Maybe Text

    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.

  • scope :: StopScope

    The scope of the StopAction. The only acceptable value is RuleSet.

Instances

Instances details
Eq StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

Read StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

Show StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

Generic StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

Associated Types

type Rep StopAction :: Type -> Type #

NFData StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

Methods

rnf :: StopAction -> () #

Hashable StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

ToQuery StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

FromXML StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

type Rep StopAction Source # 
Instance details

Defined in Amazonka.SES.Types.StopAction

type Rep StopAction = D1 ('MetaData "StopAction" "Amazonka.SES.Types.StopAction" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "StopAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StopScope)))

newStopAction Source #

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.