File Coverage

blib/lib/Paws/CodeBuild/Build.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodeBuild::Build;
2 1     1   517 use Moose;
  1         2  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has Artifacts => (is => 'ro', isa => 'Paws::CodeBuild::BuildArtifacts', request_name => 'artifacts', traits => ['NameInRequest']);
5             has BuildComplete => (is => 'ro', isa => 'Bool', request_name => 'buildComplete', traits => ['NameInRequest']);
6             has BuildStatus => (is => 'ro', isa => 'Str', request_name => 'buildStatus', traits => ['NameInRequest']);
7             has CurrentPhase => (is => 'ro', isa => 'Str', request_name => 'currentPhase', traits => ['NameInRequest']);
8             has EndTime => (is => 'ro', isa => 'Str', request_name => 'endTime', traits => ['NameInRequest']);
9             has Environment => (is => 'ro', isa => 'Paws::CodeBuild::ProjectEnvironment', request_name => 'environment', traits => ['NameInRequest']);
10             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
11             has Initiator => (is => 'ro', isa => 'Str', request_name => 'initiator', traits => ['NameInRequest']);
12             has Logs => (is => 'ro', isa => 'Paws::CodeBuild::LogsLocation', request_name => 'logs', traits => ['NameInRequest']);
13             has Phases => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::BuildPhase]', request_name => 'phases', traits => ['NameInRequest']);
14             has ProjectName => (is => 'ro', isa => 'Str', request_name => 'projectName', traits => ['NameInRequest']);
15             has Source => (is => 'ro', isa => 'Paws::CodeBuild::ProjectSource', request_name => 'source', traits => ['NameInRequest']);
16             has SourceVersion => (is => 'ro', isa => 'Str', request_name => 'sourceVersion', traits => ['NameInRequest']);
17             has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest']);
18             has TimeoutInMinutes => (is => 'ro', isa => 'Int', request_name => 'timeoutInMinutes', traits => ['NameInRequest']);
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::CodeBuild::Build
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::CodeBuild::Build object:
37              
38             $service_obj->Method(Att1 => { Arn => $value, ..., TimeoutInMinutes => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::Build object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->Arn
46              
47             =head1 DESCRIPTION
48              
49             Information about a build.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 Arn => Str
55              
56             The Amazon Resource Name (ARN) of the build.
57              
58              
59             =head2 Artifacts => L<Paws::CodeBuild::BuildArtifacts>
60              
61             Information about the output artifacts for the build.
62              
63              
64             =head2 BuildComplete => Bool
65              
66             Whether the build has finished. True if completed; otherwise, false.
67              
68              
69             =head2 BuildStatus => Str
70              
71             The current status of the build. Valid values include:
72              
73             =over
74              
75             =item *
76              
77             C<FAILED>: The build failed.
78              
79             =item *
80              
81             C<FAULT>: The build faulted.
82              
83             =item *
84              
85             C<IN_PROGRESS>: The build is still in progress.
86              
87             =item *
88              
89             C<STOPPED>: The build stopped.
90              
91             =item *
92              
93             C<SUCCEEDED>: The build succeeded.
94              
95             =item *
96              
97             C<TIMED_OUT>: The build timed out.
98              
99             =back
100              
101              
102              
103             =head2 CurrentPhase => Str
104              
105             The current build phase.
106              
107              
108             =head2 EndTime => Str
109              
110             When the build process ended, expressed in Unix time format.
111              
112              
113             =head2 Environment => L<Paws::CodeBuild::ProjectEnvironment>
114              
115             Information about the build environment for this build.
116              
117              
118             =head2 Id => Str
119              
120             The unique ID for the build.
121              
122              
123             =head2 Initiator => Str
124              
125             The entity that started the build. Valid values include:
126              
127             =over
128              
129             =item *
130              
131             If AWS CodePipeline started the build, the pipeline's name (for
132             example, C<codepipeline/my-demo-pipeline>).
133              
134             =item *
135              
136             If an AWS Identity and Access Management (IAM) user started the build,
137             the user's name (for example C<MyUserName>).
138              
139             =item *
140              
141             If the Jenkins plugin for AWS CodeBuild started the build, the string
142             C<CodeBuild-Jenkins-Plugin>.
143              
144             =back
145              
146              
147              
148             =head2 Logs => L<Paws::CodeBuild::LogsLocation>
149              
150             Information about the build's logs in Amazon CloudWatch Logs.
151              
152              
153             =head2 Phases => ArrayRef[L<Paws::CodeBuild::BuildPhase>]
154              
155             Information about all previous build phases that are completed and
156             information about any current build phase that is not yet complete.
157              
158              
159             =head2 ProjectName => Str
160              
161             The name of the build project.
162              
163              
164             =head2 Source => L<Paws::CodeBuild::ProjectSource>
165              
166             Information about the source code to be built.
167              
168              
169             =head2 SourceVersion => Str
170              
171             Any version identifier for the version of the source code to be built.
172              
173              
174             =head2 StartTime => Str
175              
176             When the build process started, expressed in Unix time format.
177              
178              
179             =head2 TimeoutInMinutes => Int
180              
181             How long, in minutes, for AWS CodeBuild to wait before timing out this
182             build if it does not get marked as completed.
183              
184              
185              
186             =head1 SEE ALSO
187              
188             This class forms part of L<Paws>, describing an object used in L<Paws::CodeBuild>
189              
190             =head1 BUGS and CONTRIBUTIONS
191              
192             The source code is located here: https://github.com/pplu/aws-sdk-perl
193              
194             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
195              
196             =cut
197