line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::CodeBuild; |
2
|
1
|
|
|
1
|
|
1027
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
sub service { 'codebuild' } |
4
|
|
|
|
|
|
|
sub version { '2016-10-06' } |
5
|
|
|
|
|
|
|
sub target_prefix { 'CodeBuild_20161006' } |
6
|
|
|
|
|
|
|
sub json_version { "1.1" } |
7
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
8
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
9
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
10
|
|
|
|
|
|
|
}); |
11
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
12
|
|
|
|
|
|
|
] }); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub BatchGetBuilds { |
18
|
|
|
|
|
|
|
my $self = shift; |
19
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::BatchGetBuilds', @_); |
20
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
sub BatchGetProjects { |
23
|
|
|
|
|
|
|
my $self = shift; |
24
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::BatchGetProjects', @_); |
25
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
sub CreateProject { |
28
|
|
|
|
|
|
|
my $self = shift; |
29
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::CreateProject', @_); |
30
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
sub DeleteProject { |
33
|
|
|
|
|
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::DeleteProject', @_); |
35
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
sub ListBuilds { |
38
|
|
|
|
|
|
|
my $self = shift; |
39
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::ListBuilds', @_); |
40
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
sub ListBuildsForProject { |
43
|
|
|
|
|
|
|
my $self = shift; |
44
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::ListBuildsForProject', @_); |
45
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
sub ListCuratedEnvironmentImages { |
48
|
|
|
|
|
|
|
my $self = shift; |
49
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::ListCuratedEnvironmentImages', @_); |
50
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
sub ListProjects { |
53
|
|
|
|
|
|
|
my $self = shift; |
54
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::ListProjects', @_); |
55
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
sub StartBuild { |
58
|
|
|
|
|
|
|
my $self = shift; |
59
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::StartBuild', @_); |
60
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
sub StopBuild { |
63
|
|
|
|
|
|
|
my $self = shift; |
64
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::StopBuild', @_); |
65
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
sub UpdateProject { |
68
|
|
|
|
|
|
|
my $self = shift; |
69
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CodeBuild::UpdateProject', @_); |
70
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub operations { qw/BatchGetBuilds BatchGetProjects CreateProject DeleteProject ListBuilds ListBuildsForProject ListCuratedEnvironmentImages ListProjects StartBuild StopBuild UpdateProject / } |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
1; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
### main pod documentation begin ### |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 NAME |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Paws::CodeBuild - Perl Interface to AWS AWS CodeBuild |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 SYNOPSIS |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
use Paws; |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
my $obj = Paws->service('CodeBuild'); |
90
|
|
|
|
|
|
|
my $res = $obj->Method( |
91
|
|
|
|
|
|
|
Arg1 => $val1, |
92
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
93
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
94
|
|
|
|
|
|
|
# of the arguments type |
95
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
96
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
97
|
|
|
|
|
|
|
# the constructor of the arguments type |
98
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
99
|
|
|
|
|
|
|
); |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 DESCRIPTION |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
AWS CodeBuild |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
AWS CodeBuild is a fully managed build service in the cloud. AWS |
106
|
|
|
|
|
|
|
CodeBuild compiles your source code, runs unit tests, and produces |
107
|
|
|
|
|
|
|
artifacts that are ready to deploy. AWS CodeBuild eliminates the need |
108
|
|
|
|
|
|
|
to provision, manage, and scale your own build servers. It provides |
109
|
|
|
|
|
|
|
prepackaged build environments for the most popular programming |
110
|
|
|
|
|
|
|
languages and build tools, such as Apach Maven, Gradle, and more. You |
111
|
|
|
|
|
|
|
can also fully customize build environments in AWS CodeBuild to use |
112
|
|
|
|
|
|
|
your own build tools. AWS CodeBuild scales automatically to meet peak |
113
|
|
|
|
|
|
|
build requests, and you pay only for the build time you consume. For |
114
|
|
|
|
|
|
|
more information about AWS CodeBuild, see the I<AWS CodeBuild User |
115
|
|
|
|
|
|
|
Guide>. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
AWS CodeBuild supports these operations: |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=over |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
C<BatchGetProjects>: Gets information about one or more build projects. |
124
|
|
|
|
|
|
|
A I<build project> defines how AWS CodeBuild will run a build. This |
125
|
|
|
|
|
|
|
includes information such as where to get the source code to build, the |
126
|
|
|
|
|
|
|
build environment to use, the build commands to run, and where to store |
127
|
|
|
|
|
|
|
the build output. A I<build environment> represents a combination of |
128
|
|
|
|
|
|
|
operating system, programming language runtime, and tools that AWS |
129
|
|
|
|
|
|
|
CodeBuild will use to run a build. Also, you can add tags to build |
130
|
|
|
|
|
|
|
projects to help manage your resources and costs. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=item * |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
C<CreateProject>: Creates a build project. |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=item * |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
C<DeleteProject>: Deletes a build project. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=item * |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
C<ListProjects>: Gets a list of build project names, with each build |
143
|
|
|
|
|
|
|
project name representing a single build project. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=item * |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
C<UpdateProject>: Changes the settings of an existing build project. |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=item * |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
C<BatchGetBuilds>: Gets information about one or more builds. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=item * |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
C<ListBuilds>: Gets a list of build IDs, with each build ID |
156
|
|
|
|
|
|
|
representing a single build. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=item * |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
C<ListBuildsForProject>: Gets a list of build IDs for the specified |
161
|
|
|
|
|
|
|
build project, with each build ID representing a single build. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=item * |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
C<StartBuild>: Starts running a build. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=item * |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
C<StopBuild>: Attempts to stop running a build. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=item * |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
C<ListCuratedEnvironmentImages>: Gets information about Docker images |
174
|
|
|
|
|
|
|
that are managed by AWS CodeBuild. |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=back |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head1 METHODS |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head2 BatchGetBuilds(Ids => ArrayRef[Str|Undef]) |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::BatchGetBuilds> |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::BatchGetBuildsOutput> instance |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
Gets information about builds. |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=head2 BatchGetProjects(Names => ArrayRef[Str|Undef]) |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::BatchGetProjects> |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::BatchGetProjectsOutput> instance |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Gets information about build projects. |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=head2 CreateProject(Artifacts => L<Paws::CodeBuild::ProjectArtifacts>, Environment => L<Paws::CodeBuild::ProjectEnvironment>, Name => Str, Source => L<Paws::CodeBuild::ProjectSource>, [Description => Str, EncryptionKey => Str, ServiceRole => Str, Tags => ArrayRef[L<Paws::CodeBuild::Tag>], TimeoutInMinutes => Int]) |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::CreateProject> |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::CreateProjectOutput> instance |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Creates a build project. |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=head2 DeleteProject(Name => Str) |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::DeleteProject> |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::DeleteProjectOutput> instance |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
Deletes a build project. |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
=head2 ListBuilds([NextToken => Str, SortOrder => Str]) |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::ListBuilds> |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::ListBuildsOutput> instance |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Gets a list of build IDs, with each build ID representing a single |
224
|
|
|
|
|
|
|
build. |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=head2 ListBuildsForProject(ProjectName => Str, [NextToken => Str, SortOrder => Str]) |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::ListBuildsForProject> |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::ListBuildsForProjectOutput> instance |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Gets a list of build IDs for the specified build project, with each |
234
|
|
|
|
|
|
|
build ID representing a single build. |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=head2 ListCuratedEnvironmentImages() |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::ListCuratedEnvironmentImages> |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::ListCuratedEnvironmentImagesOutput> instance |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
Gets information about Docker images that are managed by AWS CodeBuild. |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
=head2 ListProjects([NextToken => Str, SortBy => Str, SortOrder => Str]) |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::ListProjects> |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::ListProjectsOutput> instance |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
Gets a list of build project names, with each build project name |
253
|
|
|
|
|
|
|
representing a single build project. |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=head2 StartBuild(ProjectName => Str, [ArtifactsOverride => L<Paws::CodeBuild::ProjectArtifacts>, BuildspecOverride => Str, EnvironmentVariablesOverride => ArrayRef[L<Paws::CodeBuild::EnvironmentVariable>], SourceVersion => Str, TimeoutInMinutesOverride => Int]) |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::StartBuild> |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::StartBuildOutput> instance |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
Starts running a build. |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
=head2 StopBuild(Id => Str) |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::StopBuild> |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::StopBuildOutput> instance |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
Attempts to stop running a build. |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=head2 UpdateProject(Name => Str, [Artifacts => L<Paws::CodeBuild::ProjectArtifacts>, Description => Str, EncryptionKey => Str, Environment => L<Paws::CodeBuild::ProjectEnvironment>, ServiceRole => Str, Source => L<Paws::CodeBuild::ProjectSource>, Tags => ArrayRef[L<Paws::CodeBuild::Tag>], TimeoutInMinutes => Int]) |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CodeBuild::UpdateProject> |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
Returns: a L<Paws::CodeBuild::UpdateProjectOutput> instance |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Changes the settings of a build project. |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
=head1 PAGINATORS |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
=head1 SEE ALSO |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
=cut |
303
|
|
|
|
|
|
|
|