Class: Aws::SES::Types::BouncedRecipientInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::BouncedRecipientInfo
- Defined in:
- gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb
Overview
When making an API call, you may pass BouncedRecipientInfo data as a hash:
{
recipient: "Address", # required
recipient_arn: "AmazonResourceName",
bounce_type: "DoesNotExist", # accepts DoesNotExist, MessageTooLarge, ExceededQuota, ContentRejected, Undefined, TemporaryFailure
recipient_dsn_fields: {
final_recipient: "Address",
action: "failed", # required, accepts failed, delayed, delivered, relayed, expanded
remote_mta: "RemoteMta",
status: "DsnStatus", # required
diagnostic_code: "DiagnosticCode",
last_attempt_date: Time.now,
extension_fields: [
{
name: "ExtensionFieldName", # required
value: "ExtensionFieldValue", # required
},
],
},
}
Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bounce_type ⇒ String
The reason for the bounce.
-
#recipient ⇒ String
The email address of the recipient of the bounced email.
-
#recipient_arn ⇒ String
This parameter is used only for sending authorization.
-
#recipient_dsn_fields ⇒ Types::RecipientDsnFields
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a
BounceType
.
Instance Attribute Details
#bounce_type ⇒ String
The reason for the bounce. You must provide either this parameter or
RecipientDsnFields
.
251 252 253 254 255 256 257 258 |
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 251 class BouncedRecipientInfo < Struct.new( :recipient, :recipient_arn, :bounce_type, :recipient_dsn_fields) SENSITIVE = [] include Aws::Structure end |
#recipient ⇒ String
The email address of the recipient of the bounced email.
251 252 253 254 255 256 257 258 |
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 251 class BouncedRecipientInfo < Struct.new( :recipient, :recipient_arn, :bounce_type, :recipient_dsn_fields) SENSITIVE = [] include Aws::Structure end |
#recipient_arn ⇒ String
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
251 252 253 254 255 256 257 258 |
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 251 class BouncedRecipientInfo < Struct.new( :recipient, :recipient_arn, :bounce_type, :recipient_dsn_fields) SENSITIVE = [] include Aws::Structure end |
#recipient_dsn_fields ⇒ Types::RecipientDsnFields
Recipient-related DSN fields, most of which would normally be filled
in automatically when provided with a BounceType
. You must provide
either this parameter or BounceType
.
251 252 253 254 255 256 257 258 |
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 251 class BouncedRecipientInfo < Struct.new( :recipient, :recipient_arn, :bounce_type, :recipient_dsn_fields) SENSITIVE = [] include Aws::Structure end |