NAME

Paws::SES::SendBounce - Arguments for method SendBounce on Paws::SES

DESCRIPTION

This class represents the parameters used for calling the method SendBounce on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method SendBounce.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendBounce.

SYNOPSIS

    my $email = Paws->service('SES');
    my $SendBounceResponse = $email->SendBounce(
      BounceSender             => 'MyAddress',
      BouncedRecipientInfoList => [
        {
          Recipient  => 'MyAddress',
          BounceType => 'DoesNotExist'
          , # values: DoesNotExist, MessageTooLarge, ExceededQuota, ContentRejected, Undefined, TemporaryFailure; OPTIONAL
          RecipientArn       => 'MyAmazonResourceName',    # OPTIONAL
          RecipientDsnFields => {
            Action =>
              'failed',  # values: failed, delayed, delivered, relayed, expanded
            Status          => 'MyDsnStatus',
            DiagnosticCode  => 'MyDiagnosticCode',    # OPTIONAL
            ExtensionFields => [
              {
                Name  => 'MyExtensionFieldName',
                Value => 'MyExtensionFieldValue',

              },
              ...
            ],                                        # OPTIONAL
            FinalRecipient  => 'MyAddress',
            LastAttemptDate => '1970-01-01T01:00:00',    # OPTIONAL
            RemoteMta       => 'MyRemoteMta',            # OPTIONAL
          },    # OPTIONAL
        },
        ...
      ],
      OriginalMessageId => 'MyMessageId',
      BounceSenderArn   => 'MyAmazonResourceName',    # OPTIONAL
      Explanation       => 'MyExplanation',           # OPTIONAL
      MessageDsn        => {
        ReportingMta    => 'MyReportingMta',
        ArrivalDate     => '1970-01-01T01:00:00',     # OPTIONAL
        ExtensionFields => [
          {
            Name  => 'MyExtensionFieldName',
            Value => 'MyExtensionFieldValue',

          },
          ...
        ],                                            # OPTIONAL
      },    # OPTIONAL
    );

    # Results:
    my $MessageId = $SendBounceResponse->MessageId;

    # Returns a L<Paws::SES::SendBounceResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/email/SendBounce

ATTRIBUTES

REQUIRED BouncedRecipientInfoList => ArrayRef[Paws::SES::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.

REQUIRED BounceSender => Str

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

BounceSenderArn => Str

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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

Explanation => Str

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 => Paws::SES::MessageDsn

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

REQUIRED OriginalMessageId => Str

The message ID of the message to be bounced.

SEE ALSO

This class forms part of Paws, documenting arguments for method SendBounce in Paws::SES

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues