blib/lib/Paws/Proton/CreateEnvironmentTemplateVersion.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Proton::CreateEnvironmentTemplateVersion;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken' );
5 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
6 has MajorVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'majorVersion' );
7 has Source => (is => 'ro', isa => 'Paws::Proton::TemplateVersionSourceInput', traits => ['NameInRequest'], request_name => 'source' , required => 1);
8 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Proton::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
9 has TemplateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateName' , required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEnvironmentTemplateVersion');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::CreateEnvironmentTemplateVersionOutput');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Proton::CreateEnvironmentTemplateVersion - Arguments for method CreateEnvironmentTemplateVersion on L<Paws::Proton>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateEnvironmentTemplateVersion on the
27 L<AWS Proton|Paws::Proton> service. Use the attributes of this class
28 as arguments to method CreateEnvironmentTemplateVersion.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironmentTemplateVersion.
31  
32 =head1 SYNOPSIS
33  
34 my $proton = Paws->service('Proton');
35 my $CreateEnvironmentTemplateVersionOutput =
36 $proton->CreateEnvironmentTemplateVersion(
37 Source => {
38 S3 => {
39 Bucket => 'MyS3Bucket', # min: 3, max: 63
40 Key => 'MyS3Key', # min: 1, max: 1024
41  
42 }, # OPTIONAL
43 },
44 TemplateName => 'MyResourceName',
45 ClientToken => 'MyClientToken', # OPTIONAL
46 Description => 'MyDescription', # OPTIONAL
47 MajorVersion => 'MyTemplateVersionPart', # OPTIONAL
48 Tags => [
49 {
50 Key => 'MyTagKey', # min: 1, max: 128
51 Value => 'MyTagValue', # max: 256
52  
53 },
54 ...
55 ], # OPTIONAL
56 );
57  
58 # Results:
59 my $EnvironmentTemplateVersion =
60 $CreateEnvironmentTemplateVersionOutput->EnvironmentTemplateVersion;
61  
62 # Returns a L<Paws::Proton::CreateEnvironmentTemplateVersionOutput> object.
63  
64 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.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/proton/CreateEnvironmentTemplateVersion>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 ClientToken => Str
71  
72 When included, if two identicial requests are made with the same client
73 token, AWS Proton returns the environment template version that the
74 first request created.
75  
76  
77  
78 =head2 Description => Str
79  
80 A description of the new version of an environment template.
81  
82  
83  
84 =head2 MajorVersion => Str
85  
86 To create a new minor version of the environment template, include a
87 C<majorVersion>.
88  
89 To create a new major and minor version of the environment template,
90 exclude C<majorVersion>.
91  
92  
93  
94 =head2 B<REQUIRED> Source => L<Paws::Proton::TemplateVersionSourceInput>
95  
96 An object that includes the template bundle S3 bucket path and name for
97 the new version of an template.
98  
99  
100  
101 =head2 Tags => ArrayRef[L<Paws::Proton::Tag>]
102  
103 Create tags for a new version of an environment template.
104  
105  
106  
107 =head2 B<REQUIRED> TemplateName => Str
108  
109 The name of the environment template.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method CreateEnvironmentTemplateVersion in L<Paws::Proton>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125