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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SESv2::PutAccountDetails;
3 use Moose;
4 has AdditionalContactEmailAddresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has ContactLanguage => (is => 'ro', isa => 'Str');
6 has MailType => (is => 'ro', isa => 'Str', required => 1);
7 has ProductionAccessEnabled => (is => 'ro', isa => 'Bool');
8 has UseCaseDescription => (is => 'ro', isa => 'Str', required => 1);
9 has WebsiteURL => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAccountDetails');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/account/details');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::PutAccountDetailsResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::SESv2::PutAccountDetails - Arguments for method PutAccountDetails on L<Paws::SESv2>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method PutAccountDetails on the
28 L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class
29 as arguments to method PutAccountDetails.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAccountDetails.
32  
33 =head1 SYNOPSIS
34  
35 my $email = Paws->service('SESv2');
36 my $PutAccountDetailsResponse = $email->PutAccountDetails(
37 MailType => 'MARKETING',
38 UseCaseDescription => 'MyUseCaseDescription',
39 WebsiteURL => 'MyWebsiteURL',
40 AdditionalContactEmailAddresses => [
41 'MyAdditionalContactEmailAddress', ... # min: 6, max: 254
42 ], # OPTIONAL
43 ContactLanguage => 'EN', # OPTIONAL
44 ProductionAccessEnabled => 1, # OPTIONAL
45 );
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/PutAccountDetails>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AdditionalContactEmailAddresses => ArrayRef[Str|Undef]
54  
55 Additional email addresses that you would like to be notified regarding
56 Amazon SES matters.
57  
58  
59  
60 =head2 ContactLanguage => Str
61  
62 The language you would prefer to be contacted with.
63  
64 Valid values are: C<"EN">, C<"JA">
65  
66 =head2 B<REQUIRED> MailType => Str
67  
68 The type of email your account will send.
69  
70 Valid values are: C<"MARKETING">, C<"TRANSACTIONAL">
71  
72 =head2 ProductionAccessEnabled => Bool
73  
74 Indicates whether or not your account should have production access in
75 the current AWS Region.
76  
77 If the value is C<false>, then your account is in the I<sandbox>. When
78 your account is in the sandbox, you can only send email to verified
79 identities. Additionally, the maximum number of emails you can send in
80 a 24-hour period (your sending quota) is 200, and the maximum number of
81 emails you can send per second (your maximum sending rate) is 1.
82  
83 If the value is C<true>, then your account has production access. When
84 your account has production access, you can send email to any address.
85 The sending quota and maximum sending rate for your account vary based
86 on your specific use case.
87  
88  
89  
90 =head2 B<REQUIRED> UseCaseDescription => Str
91  
92 A description of the types of email that you plan to send.
93  
94  
95  
96 =head2 B<REQUIRED> WebsiteURL => Str
97  
98 The URL of your website. This information helps us better understand
99 the type of content that you plan to send.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method PutAccountDetails in L<Paws::SESv2>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115