blib/lib/Paws/SES/CreateCustomVerificationEmailTemplate.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SES::CreateCustomVerificationEmailTemplate;
3 use Moose;
4 has FailureRedirectionURL => (is => 'ro', isa => 'Str', required => 1);
5 has FromEmailAddress => (is => 'ro', isa => 'Str', required => 1);
6 has SuccessRedirectionURL => (is => 'ro', isa => 'Str', required => 1);
7 has TemplateContent => (is => 'ro', isa => 'Str', required => 1);
8 has TemplateName => (is => 'ro', isa => 'Str', required => 1);
9 has TemplateSubject => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCustomVerificationEmailTemplate');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::SES::CreateCustomVerificationEmailTemplate - Arguments for method CreateCustomVerificationEmailTemplate on L<Paws::SES>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateCustomVerificationEmailTemplate on the
27 L<Amazon Simple Email Service|Paws::SES> service. Use the attributes of this class
28 as arguments to method CreateCustomVerificationEmailTemplate.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomVerificationEmailTemplate.
31  
32 =head1 SYNOPSIS
33  
34 my $email = Paws->service('SES');
35 $email->CreateCustomVerificationEmailTemplate(
36 FailureRedirectionURL => 'MyFailureRedirectionURL',
37 FromEmailAddress => 'MyFromAddress',
38 SuccessRedirectionURL => 'MySuccessRedirectionURL',
39 TemplateContent => 'MyTemplateContent',
40 TemplateName => 'MyTemplateName',
41 TemplateSubject => 'MySubject',
42  
43 );
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/CreateCustomVerificationEmailTemplate>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> FailureRedirectionURL => Str
52  
53 The URL that the recipient of the verification email is sent to if his
54 or her address is not successfully verified.
55  
56  
57  
58 =head2 B<REQUIRED> FromEmailAddress => Str
59  
60 The email address that the custom verification email is sent from.
61  
62  
63  
64 =head2 B<REQUIRED> SuccessRedirectionURL => Str
65  
66 The URL that the recipient of the verification email is sent to if his
67 or her address is successfully verified.
68  
69  
70  
71 =head2 B<REQUIRED> TemplateContent => Str
72  
73 The content of the custom verification email. The total size of the
74 email must be less than 10 MB. The message body may contain HTML, with
75 some limitations. For more information, see Custom Verification Email
76 Frequently Asked Questions
77 (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq)
78 in the I<Amazon SES Developer Guide>.
79  
80  
81  
82 =head2 B<REQUIRED> TemplateName => Str
83  
84 The name of the custom verification email template.
85  
86  
87  
88 =head2 B<REQUIRED> TemplateSubject => Str
89  
90 The subject line of the custom verification email.
91  
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, documenting arguments for method CreateCustomVerificationEmailTemplate in L<Paws::SES>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106