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 ReceiptAction = ReceiptAction' {}
- newReceiptAction :: ReceiptAction
- receiptAction_addHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction)
- receiptAction_sNSAction :: Lens' ReceiptAction (Maybe SNSAction)
- receiptAction_workmailAction :: Lens' ReceiptAction (Maybe WorkmailAction)
- receiptAction_bounceAction :: Lens' ReceiptAction (Maybe BounceAction)
- receiptAction_lambdaAction :: Lens' ReceiptAction (Maybe LambdaAction)
- receiptAction_stopAction :: Lens' ReceiptAction (Maybe StopAction)
- receiptAction_s3Action :: Lens' ReceiptAction (Maybe S3Action)
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.
ReceiptAction' | |
|
Instances
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_addHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction) Source #
Adds a header to the received email.
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.