class Aws::SES::Types::BounceAction

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

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html

@note When making an API call, you may pass BounceAction

data as a hash:

    {
      topic_arn: "AmazonResourceName",
      smtp_reply_code: "BounceSmtpReplyCode", # required
      status_code: "BounceStatusCode",
      message: "BounceMessage", # required
      sender: "Address", # required
    }

@!attribute [rw] topic_arn

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][1].

[1]: https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html
@return [String]

@!attribute [rw] smtp_reply_code

The SMTP reply code, as defined by [RFC 5321][1].

[1]: https://tools.ietf.org/html/rfc5321
@return [String]

@!attribute [rw] status_code

The SMTP enhanced status code, as defined by [RFC 3463][1].

[1]: https://tools.ietf.org/html/rfc3463
@return [String]

@!attribute [rw] message

Human-readable text to include in the bounce message.
@return [String]

@!attribute [rw] sender

The email address of the sender of the bounced email. This is the
address from which the bounce message will be sent.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BounceAction AWS API Documentation

Constants

SENSITIVE