Class: Aws::SES::Types::BounceAction
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::SES::Types::BounceAction
 
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ses/types.rb
Overview
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/dg/receiving-email-action-bounce.html
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Human-readable text to include in the bounce message. 
- 
  
    
      #sender  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email address of the sender of the bounced email. 
- 
  
    
      #smtp_reply_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SMTP reply code, as defined by [RFC 5321]. 
- 
  
    
      #status_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SMTP enhanced status code, as defined by [RFC 3463]. 
- 
  
    
      #topic_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. 
Instance Attribute Details
#message ⇒ String
Human-readable text to include in the bounce message.
| 148 149 150 151 152 153 154 155 156 | # File 'lib/aws-sdk-ses/types.rb', line 148 class BounceAction < Struct.new( :topic_arn, :smtp_reply_code, :status_code, :message, :sender) SENSITIVE = [] include Aws::Structure end | 
#sender ⇒ String
The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
| 148 149 150 151 152 153 154 155 156 | # File 'lib/aws-sdk-ses/types.rb', line 148 class BounceAction < Struct.new( :topic_arn, :smtp_reply_code, :status_code, :message, :sender) SENSITIVE = [] include Aws::Structure end | 
#smtp_reply_code ⇒ String
The SMTP reply code, as defined by [RFC 5321].
| 148 149 150 151 152 153 154 155 156 | # File 'lib/aws-sdk-ses/types.rb', line 148 class BounceAction < Struct.new( :topic_arn, :smtp_reply_code, :status_code, :message, :sender) SENSITIVE = [] include Aws::Structure end | 
#status_code ⇒ String
The SMTP enhanced status code, as defined by [RFC 3463].
| 148 149 150 151 152 153 154 155 156 | # File 'lib/aws-sdk-ses/types.rb', line 148 class BounceAction < Struct.new( :topic_arn, :smtp_reply_code, :status_code, :message, :sender) SENSITIVE = [] include Aws::Structure end | 
#topic_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the [ListTopics] operation in Amazon SNS.
For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide].
[1]: docs.aws.amazon.com/sns/latest/api/API_ListTopics.html [2]: docs.aws.amazon.com/sns/latest/dg/CreateTopic.html
| 148 149 150 151 152 153 154 155 156 | # File 'lib/aws-sdk-ses/types.rb', line 148 class BounceAction < Struct.new( :topic_arn, :smtp_reply_code, :status_code, :message, :sender) SENSITIVE = [] include Aws::Structure end |