Class: Aws::SES::Types::SendBounceRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

Represents a request to send a bounce message to the sender of an email you received through Amazon SES.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounce_senderString

The address to use in the “From” header of the bounce message. This must be an identity that you have verified with Amazon SES.

Returns:

  • (String)


3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end

#bounce_sender_arnString

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 use the address in the “From” header of the bounce. For more information about sending authorization, see the [Amazon SES Developer Guide].

[1]: docs.aws.amazon.com/ses/latest/dg/sending-authorization.html

Returns:

  • (String)


3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end

#bounced_recipient_info_listArray<Types::BouncedRecipientInfo>

A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one ‘BouncedRecipientInfo` in the list.

Returns:



3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end

#explanationString

Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.

Returns:

  • (String)


3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end

#message_dsnTypes::MessageDsn

Message-related DSN fields. If not specified, Amazon SES chooses the values.

Returns:



3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end

#original_message_idString

The message ID of the message to be bounced.

Returns:

  • (String)


3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/aws-sdk-ses/types.rb', line 3742

class SendBounceRequest < Struct.new(
  :original_message_id,
  :bounce_sender,
  :explanation,
  :message_dsn,
  :bounced_recipient_info_list,
  :bounce_sender_arn)
  SENSITIVE = []
  include Aws::Structure
end