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

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Proton::Environment;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
5 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
6 has DeploymentStatus => (is => 'ro', isa => 'Str', request_name => 'deploymentStatus', traits => ['NameInRequest'], required => 1);
7 has DeploymentStatusMessage => (is => 'ro', isa => 'Str', request_name => 'deploymentStatusMessage', traits => ['NameInRequest']);
8 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
9 has EnvironmentAccountConnectionId => (is => 'ro', isa => 'Str', request_name => 'environmentAccountConnectionId', traits => ['NameInRequest']);
10 has EnvironmentAccountId => (is => 'ro', isa => 'Str', request_name => 'environmentAccountId', traits => ['NameInRequest']);
11 has LastDeploymentAttemptedAt => (is => 'ro', isa => 'Str', request_name => 'lastDeploymentAttemptedAt', traits => ['NameInRequest'], required => 1);
12 has LastDeploymentSucceededAt => (is => 'ro', isa => 'Str', request_name => 'lastDeploymentSucceededAt', traits => ['NameInRequest'], required => 1);
13 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
14 has ProtonServiceRoleArn => (is => 'ro', isa => 'Str', request_name => 'protonServiceRoleArn', traits => ['NameInRequest']);
15 has Provisioning => (is => 'ro', isa => 'Str', request_name => 'provisioning', traits => ['NameInRequest']);
16 has Spec => (is => 'ro', isa => 'Str', request_name => 'spec', traits => ['NameInRequest']);
17 has TemplateMajorVersion => (is => 'ro', isa => 'Str', request_name => 'templateMajorVersion', traits => ['NameInRequest'], required => 1);
18 has TemplateMinorVersion => (is => 'ro', isa => 'Str', request_name => 'templateMinorVersion', traits => ['NameInRequest'], required => 1);
19 has TemplateName => (is => 'ro', isa => 'Str', request_name => 'templateName', traits => ['NameInRequest'], required => 1);
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::Proton::Environment
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::Proton::Environment object:
39  
40 $service_obj->Method(Att1 => { Arn => $value, ..., TemplateName => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::Proton::Environment object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->Arn
48  
49 =head1 DESCRIPTION
50  
51 The environment detail data. An AWS Proton environment is a set
52 resources shared across an AWS Proton service.
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> Arn => Str
58  
59 The Amazon Resource Name (ARN) of the environment.
60  
61  
62 =head2 B<REQUIRED> CreatedAt => Str
63  
64 The time when the environment was created.
65  
66  
67 =head2 B<REQUIRED> DeploymentStatus => Str
68  
69 The environment deployment status.
70  
71  
72 =head2 DeploymentStatusMessage => Str
73  
74 An environment deployment status message.
75  
76  
77 =head2 Description => Str
78  
79 The description of the environment.
80  
81  
82 =head2 EnvironmentAccountConnectionId => Str
83  
84 The ID of the environment account connection that's used to provision
85 infrastructure resources in an environment account.
86  
87  
88 =head2 EnvironmentAccountId => Str
89  
90 The ID of the environment account that the environment infrastructure
91 resources are provisioned in.
92  
93  
94 =head2 B<REQUIRED> LastDeploymentAttemptedAt => Str
95  
96 The time when a deployment of the environment was last attempted.
97  
98  
99 =head2 B<REQUIRED> LastDeploymentSucceededAt => Str
100  
101 The time when the environment was last deployed successfully.
102  
103  
104 =head2 B<REQUIRED> Name => Str
105  
106 The name of the environment.
107  
108  
109 =head2 ProtonServiceRoleArn => Str
110  
111 The ARN of the AWS Proton service role that allows AWS Proton to make
112 calls to other services on your behalf.
113  
114  
115 =head2 Provisioning => Str
116  
117 When included, indicates that the environment template is for customer
118 provisioned and managed infrastructure.
119  
120  
121 =head2 Spec => Str
122  
123 The environment spec.
124  
125  
126 =head2 B<REQUIRED> TemplateMajorVersion => Str
127  
128 The ID of the major version of the environment template.
129  
130  
131 =head2 B<REQUIRED> TemplateMinorVersion => Str
132  
133 The ID of the minor version of the environment template.
134  
135  
136 =head2 B<REQUIRED> TemplateName => Str
137  
138 The ARN of the environment template.
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, describing an object used in L<Paws::Proton>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153