line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::CodeBuild::StartBuild; |
3
|
1
|
|
|
1
|
|
326
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has ArtifactsOverride => (is => 'ro', isa => 'Paws::CodeBuild::ProjectArtifacts', traits => ['NameInRequest'], request_name => 'artifactsOverride' ); |
5
|
|
|
|
|
|
|
has BuildspecOverride => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'buildspecOverride' ); |
6
|
|
|
|
|
|
|
has EnvironmentVariablesOverride => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::EnvironmentVariable]', traits => ['NameInRequest'], request_name => 'environmentVariablesOverride' ); |
7
|
|
|
|
|
|
|
has ProjectName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectName' , required => 1); |
8
|
|
|
|
|
|
|
has SourceVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceVersion' ); |
9
|
|
|
|
|
|
|
has TimeoutInMinutesOverride => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'timeoutInMinutesOverride' ); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
5419
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartBuild'); |
14
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::StartBuildOutput'); |
15
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::CodeBuild::StartBuild - Arguments for method StartBuild on Paws::CodeBuild |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents the parameters used for calling the method StartBuild on the |
27
|
|
|
|
|
|
|
AWS CodeBuild service. Use the attributes of this class |
28
|
|
|
|
|
|
|
as arguments to method StartBuild. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartBuild. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->StartBuild(Att1 => $value1, Att2 => $value2, ...); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 ArtifactsOverride => L<Paws::CodeBuild::ProjectArtifacts> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Build output artifact settings that override, for this build only, the |
44
|
|
|
|
|
|
|
latest ones already defined in the build project. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 BuildspecOverride => Str |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
A build spec declaration that overrides, for this build only, the |
51
|
|
|
|
|
|
|
latest one already defined in the build project. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 EnvironmentVariablesOverride => ArrayRef[L<Paws::CodeBuild::EnvironmentVariable>] |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
A set of environment variables that overrides, for this build only, the |
58
|
|
|
|
|
|
|
latest ones already defined in the build project. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 B<REQUIRED> ProjectName => Str |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The name of the build project to start running a build. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 SourceVersion => Str |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
A version of the build input to be built, for this build only. If not |
71
|
|
|
|
|
|
|
specified, the latest version will be used. If specified, must be one |
72
|
|
|
|
|
|
|
of: |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=over |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
For AWS CodeCommit: the commit ID to use. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=item * |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
For GitHub: the commit ID, pull request ID, branch name, or tag name |
83
|
|
|
|
|
|
|
that corresponds to the version of the source code you want to build. |
84
|
|
|
|
|
|
|
If a pull request ID is specified, it must use the format |
85
|
|
|
|
|
|
|
C<pr/pull-request-ID> (for example C<pr/25>). If a branch name is |
86
|
|
|
|
|
|
|
specified, the branch's HEAD commit ID will be used. If not specified, |
87
|
|
|
|
|
|
|
the default branch's HEAD commit ID will be used. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item * |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
For Bitbucket: the commit ID, branch name, or tag name that corresponds |
92
|
|
|
|
|
|
|
to the version of the source code you want to build. If a branch name |
93
|
|
|
|
|
|
|
is specified, the branch's HEAD commit ID will be used. If not |
94
|
|
|
|
|
|
|
specified, the default branch's HEAD commit ID will be used. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item * |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
For Amazon Simple Storage Service (Amazon S3): the version ID of the |
99
|
|
|
|
|
|
|
object representing the build input ZIP file to use. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=back |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 TimeoutInMinutesOverride => Int |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
The number of build timeout minutes, from 5 to 480 (8 hours), that |
109
|
|
|
|
|
|
|
overrides, for this build only, the latest setting already defined in |
110
|
|
|
|
|
|
|
the build project. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 SEE ALSO |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method StartBuild in L<Paws::CodeBuild> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|