blib/lib/Paws/Proton/Service.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::Service;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
5 has BranchName => (is => 'ro', isa => 'Str', request_name => 'branchName', traits => ['NameInRequest']);
6 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
7 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
8 has LastModifiedAt => (is => 'ro', isa => 'Str', request_name => 'lastModifiedAt', traits => ['NameInRequest'], required => 1);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
10 has Pipeline => (is => 'ro', isa => 'Paws::Proton::ServicePipeline', request_name => 'pipeline', traits => ['NameInRequest']);
11 has RepositoryConnectionArn => (is => 'ro', isa => 'Str', request_name => 'repositoryConnectionArn', traits => ['NameInRequest']);
12 has RepositoryId => (is => 'ro', isa => 'Str', request_name => 'repositoryId', traits => ['NameInRequest']);
13 has Spec => (is => 'ro', isa => 'Str', request_name => 'spec', traits => ['NameInRequest'], required => 1);
14 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
15 has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
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::Service
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::Service 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::Service object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->Arn
45  
46 =head1 DESCRIPTION
47  
48 The service detail data.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 B<REQUIRED> Arn => Str
54  
55 The Amazon Resource Name (ARN) of the service.
56  
57  
58 =head2 BranchName => Str
59  
60 The name of the code repository branch that holds the code that's
61 deployed in AWS Proton.
62  
63  
64 =head2 B<REQUIRED> CreatedAt => Str
65  
66 The time when the service was created.
67  
68  
69 =head2 Description => Str
70  
71 A description of a service.
72  
73  
74 =head2 B<REQUIRED> LastModifiedAt => Str
75  
76 The time when the service was last modified.
77  
78  
79 =head2 B<REQUIRED> Name => Str
80  
81 The name of the service.
82  
83  
84 =head2 Pipeline => L<Paws::Proton::ServicePipeline>
85  
86 The service pipeline detail data.
87  
88  
89 =head2 RepositoryConnectionArn => Str
90  
91 The ARN of the repository connection. For more information, see Set up
92 a repository connection
93 (https://docs.aws.amazon.com/proton/latest/adminguide/setting-up-for-service.html#setting-up-vcontrol)
94 in the I<AWS Proton Administration Guide> and Getting started
95 (https://docs.aws.amazon.com/proton/latest/userguide/ug-getting-started.html#getting-started-step1)
96 in the I<AWS Proton User Guide>.
97  
98  
99 =head2 RepositoryId => Str
100  
101 The ID of the code repository.
102  
103  
104 =head2 B<REQUIRED> Spec => Str
105  
106 The formatted specification that defines the service.
107  
108  
109 =head2 B<REQUIRED> Status => Str
110  
111 The status of the service.
112  
113  
114 =head2 StatusMessage => Str
115  
116 A service status message.
117  
118  
119 =head2 B<REQUIRED> TemplateName => Str
120  
121 The name of the service template.
122  
123  
124  
125 =head1 SEE ALSO
126  
127 This class forms part of L<Paws>, describing an object used in L<Paws::Proton>
128  
129 =head1 BUGS and CONTRIBUTIONS
130  
131 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136