File Coverage

blib/lib/Paws/CodeBuild/StartBuild.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodeBuild::StartBuild;
3 1     1   731 use Moose;
  1         4  
  1         11  
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   12008 use MooseX::ClassAttribute;
  1         5  
  1         14  
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 or GitHub: the commit ID to use.
79              
80             =item *
81              
82             For Amazon Simple Storage Service (Amazon S3): the version ID of the
83             object representing the build input ZIP file to use.
84              
85             =back
86              
87              
88              
89              
90             =head2 TimeoutInMinutesOverride => Int
91              
92             The number of build timeout minutes, from 5 to 480 (8 hours), that
93             overrides, for this build only, the latest setting already defined in
94             the build project.
95              
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, documenting arguments for method StartBuild in L<Paws::CodeBuild>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut
110