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.ReceiptAction

Description

 
Synopsis

Documentation

data ReceiptAction Source #

An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

See: newReceiptAction smart constructor.

Constructors

ReceiptAction' 

Fields

Instances

Instances details
Eq ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

Read ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

Show ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

Generic ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

Associated Types

type Rep ReceiptAction :: Type -> Type #

NFData ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

Methods

rnf :: ReceiptAction -> () #

Hashable ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

ToQuery ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

FromXML ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

type Rep ReceiptAction Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptAction

newReceiptAction :: ReceiptAction Source #

Create a value of ReceiptAction 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:addHeaderAction:ReceiptAction', receiptAction_addHeaderAction - Adds a header to the received email.

$sel:sNSAction:ReceiptAction', receiptAction_sNSAction - Publishes the email content within a notification to Amazon SNS.

$sel:workmailAction:ReceiptAction', receiptAction_workmailAction - Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.

$sel:bounceAction:ReceiptAction', receiptAction_bounceAction - Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

$sel:lambdaAction:ReceiptAction', receiptAction_lambdaAction - Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

$sel:stopAction:ReceiptAction', receiptAction_stopAction - Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

$sel:s3Action:ReceiptAction', receiptAction_s3Action - Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

receiptAction_sNSAction :: Lens' ReceiptAction (Maybe SNSAction) Source #

Publishes the email content within a notification to Amazon SNS.

receiptAction_workmailAction :: Lens' ReceiptAction (Maybe WorkmailAction) Source #

Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.

receiptAction_bounceAction :: Lens' ReceiptAction (Maybe BounceAction) Source #

Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

receiptAction_lambdaAction :: Lens' ReceiptAction (Maybe LambdaAction) Source #

Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

receiptAction_stopAction :: Lens' ReceiptAction (Maybe StopAction) Source #

Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

receiptAction_s3Action :: Lens' ReceiptAction (Maybe S3Action) Source #

Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.