blib/lib/Paws/SESv2/MailFromAttributes.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SESv2::MailFromAttributes;
3 use Moose;
4 has BehaviorOnMxFailure => (is => 'ro', isa => 'Str', required => 1);
5 has MailFromDomain => (is => 'ro', isa => 'Str', required => 1);
6 has MailFromDomainStatus => (is => 'ro', isa => 'Str', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::SESv2::MailFromAttributes
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::SESv2::MailFromAttributes object:
26  
27 $service_obj->Method(Att1 => { BehaviorOnMxFailure => $value, ..., MailFromDomainStatus => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::SESv2::MailFromAttributes object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->BehaviorOnMxFailure
35  
36 =head1 DESCRIPTION
37  
38 A list of attributes that are associated with a MAIL FROM domain.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> BehaviorOnMxFailure => Str
44  
45 The action that you want to take if the required MX record can't be
46 found when you send an email. When you set this value to
47 C<UseDefaultValue>, the mail is sent using I<amazonses.com> as the MAIL
48 FROM domain. When you set this value to C<RejectMessage>, the Amazon
49 SES API v2 returns a C<MailFromDomainNotVerified> error, and doesn't
50 attempt to deliver the email.
51  
52 These behaviors are taken when the custom MAIL FROM domain
53 configuration is in the C<Pending>, C<Failed>, and C<TemporaryFailure>
54 states.
55  
56  
57 =head2 B<REQUIRED> MailFromDomain => Str
58  
59 The name of a domain that an email identity uses as a custom MAIL FROM
60 domain.
61  
62  
63 =head2 B<REQUIRED> MailFromDomainStatus => Str
64  
65 The status of the MAIL FROM domain. This status can have the following
66 values:
67  
68 =over
69  
70 =item *
71  
72 C<PENDING> E<ndash> Amazon SES hasn't started searching for the MX
73 record yet.
74  
75 =item *
76  
77 C<SUCCESS> E<ndash> Amazon SES detected the required MX record for the
78 MAIL FROM domain.
79  
80 =item *
81  
82 C<FAILED> E<ndash> Amazon SES can't find the required MX record, or the
83 record no longer exists.
84  
85 =item *
86  
87 C<TEMPORARY_FAILURE> E<ndash> A temporary issue occurred, which
88 prevented Amazon SES from determining the status of the MAIL FROM
89 domain.
90  
91 =back
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, describing an object used in L<Paws::SESv2>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107