Class: Aws::SES::Types::ReceiptAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::ReceiptAction
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ses/types.rb
Overview
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the [Amazon SES Developer Guide].
[1]: docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#add_header_action ⇒ Types::AddHeaderAction
Adds a header to the received email.
-
#bounce_action ⇒ Types::BounceAction
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
-
#connect_action ⇒ Types::ConnectAction
Parses the received message and starts an email contact in Amazon Connect on your behalf.
-
#lambda_action ⇒ Types::LambdaAction
Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.
-
#s3_action ⇒ Types::S3Action
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
-
#sns_action ⇒ Types::SNSAction
Publishes the email content within a notification to Amazon SNS.
-
#stop_action ⇒ Types::StopAction
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
-
#workmail_action ⇒ Types::WorkmailAction
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
Instance Attribute Details
#add_header_action ⇒ Types::AddHeaderAction
Adds a header to the received email.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#bounce_action ⇒ Types::BounceAction
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#connect_action ⇒ Types::ConnectAction
Parses the received message and starts an email contact in Amazon Connect on your behalf.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#lambda_action ⇒ Types::LambdaAction
Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#s3_action ⇒ Types::S3Action
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#sns_action ⇒ Types::SNSAction
Publishes the email content within a notification to Amazon SNS.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#stop_action ⇒ Types::StopAction
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |
#workmail_action ⇒ Types::WorkmailAction
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/aws-sdk-ses/types.rb', line 3129 class ReceiptAction < Struct.new( :s3_action, :bounce_action, :workmail_action, :lambda_action, :stop_action, :add_header_action, :sns_action, :connect_action) SENSITIVE = [] include Aws::Structure end |