AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SendBounceInput

import "github.com/aws/aws-sdk-go/service/ses"

type SendBounceInput struct { BounceSender *string `type:"string" required:"true"` BounceSenderArn *string `type:"string"` BouncedRecipientInfoList []*BouncedRecipientInfo `type:"list" required:"true"` Explanation *string `type:"string"` MessageDsn *MessageDsn `type:"structure"` OriginalMessageId *string `type:"string" required:"true"` }

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

BounceSender

Type: *string

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

BounceSender is a required field

BounceSenderArn

Type: *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 use the address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

BouncedRecipientInfoList

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 (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html).

Explanation

Type: *string

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

MessageDsn

Message-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 (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html).

OriginalMessageId

Type: *string

The message ID of the message to be bounced.

OriginalMessageId is a required field

Method

GoString

func (s SendBounceInput) GoString() string

GoString returns the string representation

SetBounceSender

func (s *SendBounceInput) SetBounceSender(v string) *SendBounceInput

SetBounceSender sets the BounceSender field's value.

SetBounceSenderArn

func (s *SendBounceInput) SetBounceSenderArn(v string) *SendBounceInput

SetBounceSenderArn sets the BounceSenderArn field's value.

SetBouncedRecipientInfoList

func (s *SendBounceInput) SetBouncedRecipientInfoList(v []*BouncedRecipientInfo) *SendBounceInput

SetBouncedRecipientInfoList sets the BouncedRecipientInfoList field's value.

SetExplanation

func (s *SendBounceInput) SetExplanation(v string) *SendBounceInput

SetExplanation sets the Explanation field's value.

SetMessageDsn

func (s *SendBounceInput) SetMessageDsn(v *MessageDsn) *SendBounceInput

SetMessageDsn sets the MessageDsn field's value.

SetOriginalMessageId

func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput

SetOriginalMessageId sets the OriginalMessageId field's value.

String

func (s SendBounceInput) String() string

String returns the string representation

Validate

func (s *SendBounceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: