File Coverage

blib/lib/Paws/SES/SendBounce.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SES::SendBounce;
3 1     1   624 use Moose;
  1         3  
  1         9  
4             has BouncedRecipientInfoList => (is => 'ro', isa => 'ArrayRef[Paws::SES::BouncedRecipientInfo]', required => 1);
5             has BounceSender => (is => 'ro', isa => 'Str', required => 1);
6             has BounceSenderArn => (is => 'ro', isa => 'Str');
7             has Explanation => (is => 'ro', isa => 'Str');
8             has MessageDsn => (is => 'ro', isa => 'Paws::SES::MessageDsn');
9             has OriginalMessageId => (is => 'ro', isa => 'Str', required => 1);
10              
11 1     1   8037 use MooseX::ClassAttribute;
  1         3  
  1         9  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'SendBounce');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SES::SendBounceResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro', default => 'SendBounceResult');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::SES::SendBounce - Arguments for method SendBounce on Paws::SES
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method SendBounce on the
27             Amazon Simple Email Service service. Use the attributes of this class
28             as arguments to method SendBounce.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendBounce.
31              
32             As an example:
33              
34             $service_obj->SendBounce(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> BouncedRecipientInfoList => ArrayRef[L<Paws::SES::BouncedRecipientInfo>]
42              
43             A list of recipients of the bounced message, including the information
44             required to create the Delivery Status Notifications (DSNs) for the
45             recipients. You must specify at least one C<BouncedRecipientInfo> in
46             the list.
47              
48              
49              
50             =head2 B<REQUIRED> BounceSender => Str
51              
52             The address to use in the "From" header of the bounce message. This
53             must be an identity that you have verified with Amazon SES.
54              
55              
56              
57             =head2 BounceSenderArn => Str
58              
59             This parameter is used only for sending authorization. It is the ARN of
60             the identity that is associated with the sending authorization policy
61             that permits you to use the address in the "From" header of the bounce.
62             For more information about sending authorization, see the Amazon SES
63             Developer Guide.
64              
65              
66              
67             =head2 Explanation => Str
68              
69             Human-readable text for the bounce message to explain the failure. If
70             not specified, the text will be auto-generated based on the bounced
71             recipient information.
72              
73              
74              
75             =head2 MessageDsn => L<Paws::SES::MessageDsn>
76              
77             Message-related DSN fields. If not specified, Amazon SES will choose
78             the values.
79              
80              
81              
82             =head2 B<REQUIRED> OriginalMessageId => Str
83              
84             The message ID of the message to be bounced.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method SendBounce in L<Paws::SES>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100