blib/lib/Paws/Proton/CreateEnvironmentTemplate.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::CreateEnvironmentTemplate;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5 has DisplayName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'displayName' );
6 has EncryptionKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'encryptionKey' );
7 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
8 has Provisioning => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'provisioning' );
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Proton::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEnvironmentTemplate');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::CreateEnvironmentTemplateOutput');
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::CreateEnvironmentTemplate - Arguments for method CreateEnvironmentTemplate on L<Paws::Proton>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateEnvironmentTemplate on the
27 L<AWS Proton|Paws::Proton> service. Use the attributes of this class
28 as arguments to method CreateEnvironmentTemplate.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironmentTemplate.
31  
32 =head1 SYNOPSIS
33  
34 my $proton = Paws->service('Proton');
35 my $CreateEnvironmentTemplateOutput = $proton->CreateEnvironmentTemplate(
36 Name => 'MyResourceName',
37 Description => 'MyDescription', # OPTIONAL
38 DisplayName => 'MyDisplayName', # OPTIONAL
39 EncryptionKey => 'MyArn', # OPTIONAL
40 Provisioning => 'CUSTOMER_MANAGED', # OPTIONAL
41 Tags => [
42 {
43 Key => 'MyTagKey', # min: 1, max: 128
44 Value => 'MyTagValue', # max: 256
45  
46 },
47 ...
48 ], # OPTIONAL
49 );
50  
51 # Results:
52 my $EnvironmentTemplate =
53 $CreateEnvironmentTemplateOutput->EnvironmentTemplate;
54  
55 # Returns a L<Paws::Proton::CreateEnvironmentTemplateOutput> object.
56  
57 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.
58 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/proton/CreateEnvironmentTemplate>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 Description => Str
64  
65 A description of the environment template.
66  
67  
68  
69 =head2 DisplayName => Str
70  
71 The environment template name as displayed in the developer interface.
72  
73  
74  
75 =head2 EncryptionKey => Str
76  
77 A customer provided encryption key that AWS Proton uses to encrypt
78 data.
79  
80  
81  
82 =head2 B<REQUIRED> Name => Str
83  
84 The name of the environment template.
85  
86  
87  
88 =head2 Provisioning => Str
89  
90 When included, indicates that the environment template is for customer
91 provisioned and managed infrastructure.
92  
93 Valid values are: C<"CUSTOMER_MANAGED">
94  
95 =head2 Tags => ArrayRef[L<Paws::Proton::Tag>]
96  
97 Create tags for your environment template. For more information, see
98 I<AWS Proton resources and tagging> in the AWS Proton Administration
99 Guide
100 (https://docs.aws.amazon.com/proton/latest/adminguide/resources.html)
101 or AWS Proton User Guide
102 (https://docs.aws.amazon.com/proton/latest/userguide/resources.html).
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method CreateEnvironmentTemplate in L<Paws::Proton>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118