| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SES.Types.BounceAction
Description
Synopsis
- data BounceAction = BounceAction' {}
- newBounceAction :: Text -> Text -> Text -> BounceAction
- bounceAction_statusCode :: Lens' BounceAction (Maybe Text)
- bounceAction_topicArn :: Lens' BounceAction (Maybe Text)
- bounceAction_smtpReplyCode :: Lens' BounceAction Text
- bounceAction_message :: Lens' BounceAction Text
- bounceAction_sender :: Lens' BounceAction Text
Documentation
data BounceAction Source #
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.
See: newBounceAction smart constructor.
Constructors
| BounceAction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> BounceAction |
Create a value of BounceAction 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:statusCode:BounceAction', bounceAction_statusCode - The SMTP enhanced status code, as defined by
RFC 3463.
$sel:topicArn:BounceAction', bounceAction_topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
the bounce 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:smtpReplyCode:BounceAction', bounceAction_smtpReplyCode - The SMTP reply code, as defined by
RFC 5321.
$sel:message:BounceAction', bounceAction_message - Human-readable text to include in the bounce message.
$sel:sender:BounceAction', bounceAction_sender - The email address of the sender of the bounced email. This is the
address from which the bounce message will be sent.
bounceAction_statusCode :: Lens' BounceAction (Maybe Text) Source #
The SMTP enhanced status code, as defined by RFC 3463.
bounceAction_topicArn :: Lens' BounceAction (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
the bounce 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.
bounceAction_smtpReplyCode :: Lens' BounceAction Text Source #
The SMTP reply code, as defined by RFC 5321.
bounceAction_message :: Lens' BounceAction Text Source #
Human-readable text to include in the bounce message.
bounceAction_sender :: Lens' BounceAction Text Source #
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.