Class: Aws::MailManager::Types::BounceAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::BounceAction
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.
Constant Summary collapse
- SENSITIVE =
[:sender, :diagnostic_message, :message]
Instance Attribute Summary collapse
-
#action_failure_policy ⇒ String
A policy that states what to do in the case of failure.
-
#diagnostic_message ⇒ String
The diagnostic message included in the Diagnostic-Code header of the bounce.
-
#message ⇒ String
The human-readable text to include in the bounce message.
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.
-
#sender ⇒ String
The sender email address of the bounce message.
-
#smtp_reply_code ⇒ String
The SMTP reply code for the bounce, as defined by RFC 5321.
-
#status_code ⇒ String
The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).
Instance Attribute Details
#action_failure_policy ⇒ String
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.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#diagnostic_message ⇒ String
The diagnostic message included in the Diagnostic-Code header of the bounce.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#message ⇒ String
The human-readable text to include in the bounce message.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#sender ⇒ String
The sender email address of the bounce message.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#smtp_reply_code ⇒ String
The SMTP reply code for the bounce, as defined by RFC 5321.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |
#status_code ⇒ String
The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).
441 442 443 444 445 446 447 448 449 450 451 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441 class BounceAction < Struct.new( :action_failure_policy, :role_arn, :sender, :status_code, :smtp_reply_code, :diagnostic_message, :message) SENSITIVE = [:sender, :diagnostic_message, :message] include Aws::Structure end |