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

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 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::ServiceInstance;
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 EnvironmentName => (is => 'ro', isa => 'Str', request_name => 'environmentName', traits => ['NameInRequest'], required => 1);
9 has LastDeploymentAttemptedAt => (is => 'ro', isa => 'Str', request_name => 'lastDeploymentAttemptedAt', traits => ['NameInRequest'], required => 1);
10 has LastDeploymentSucceededAt => (is => 'ro', isa => 'Str', request_name => 'lastDeploymentSucceededAt', traits => ['NameInRequest'], required => 1);
11 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
12 has ServiceName => (is => 'ro', isa => 'Str', request_name => 'serviceName', traits => ['NameInRequest'], required => 1);
13 has Spec => (is => 'ro', isa => 'Str', request_name => 'spec', traits => ['NameInRequest']);
14 has TemplateMajorVersion => (is => 'ro', isa => 'Str', request_name => 'templateMajorVersion', traits => ['NameInRequest'], required => 1);
15 has TemplateMinorVersion => (is => 'ro', isa => 'Str', request_name => 'templateMinorVersion', traits => ['NameInRequest'], required => 1);
16 has TemplateName => (is => 'ro', isa => 'Str', request_name => 'templateName', traits => ['NameInRequest'], required => 1);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::Proton::ServiceInstance
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::Proton::ServiceInstance object:
36  
37 $service_obj->Method(Att1 => { Arn => $value, ..., TemplateName => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::Proton::ServiceInstance object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->Arn
45  
46 =head1 DESCRIPTION
47  
48 The service instance detail data.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 B<REQUIRED> Arn => Str
54  
55 The Amazon Resource Name (ARN) of the service instance.
56  
57  
58 =head2 B<REQUIRED> CreatedAt => Str
59  
60 The time when the service instance was created.
61  
62  
63 =head2 B<REQUIRED> DeploymentStatus => Str
64  
65 The service instance deployment status.
66  
67  
68 =head2 DeploymentStatusMessage => Str
69  
70 A service instance deployment status message.
71  
72  
73 =head2 B<REQUIRED> EnvironmentName => Str
74  
75 The name of the environment that the service instance was deployed
76 into.
77  
78  
79 =head2 B<REQUIRED> LastDeploymentAttemptedAt => Str
80  
81 The time when a deployment of the service instance was last attempted.
82  
83  
84 =head2 B<REQUIRED> LastDeploymentSucceededAt => Str
85  
86 The time when the service instance was last deployed successfully.
87  
88  
89 =head2 B<REQUIRED> Name => Str
90  
91 The name of the service instance.
92  
93  
94 =head2 B<REQUIRED> ServiceName => Str
95  
96 The name of the service that the service instance belongs to.
97  
98  
99 =head2 Spec => Str
100  
101 The service spec that was used to create the service instance.
102  
103  
104 =head2 B<REQUIRED> TemplateMajorVersion => Str
105  
106 The ID of the major version of the service template that was used to
107 create the service instance.
108  
109  
110 =head2 B<REQUIRED> TemplateMinorVersion => Str
111  
112 The ID of the minor version of the service template that was used to
113 create the service instance.
114  
115  
116 =head2 B<REQUIRED> TemplateName => Str
117  
118 The name of the service template that was used to create the service
119 instance.
120  
121  
122  
123 =head1 SEE ALSO
124  
125 This class forms part of L<Paws>, describing an object used in L<Paws::Proton>
126  
127 =head1 BUGS and CONTRIBUTIONS
128  
129 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
130  
131 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
132  
133 =cut
134