BounceAction
The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.
Contents
- DiagnosticMessage
-
The diagnostic message included in the Diagnostic-Code header of the bounce.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[\x20-\x7e]+Required: Yes
- RoleArn
-
The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
[a-zA-Z0-9:_/+=,@.#-]+Required: Yes
- Sender
-
The sender email address of the bounce message.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 254.
Pattern:
[a-zA-Z0-9._+-]+@[a-zA-Z0-9.-]+Required: Yes
- SmtpReplyCode
-
The SMTP reply code for the bounce, as defined by RFC 5321.
Type: String
Length Constraints: Fixed length of 3.
Pattern:
[45][0-9][0-9]Required: Yes
- StatusCode
-
The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).
Type: String
Length Constraints: Minimum length of 5. Maximum length of 9.
Pattern:
[45]\.[0-9]{1,3}\.[0-9]{1,3}Required: Yes
- ActionFailurePolicy
-
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.
Type: String
Valid Values:
CONTINUE | DROPRequired: No
- Message
-
The human-readable text to include in the bounce message.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 500.
Pattern:
[\r\n\x20-\x7e]+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: