File Coverage

blib/lib/Paws/CodeBuild/UpdateProject.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::UpdateProject;
3 1     1   364 use Moose;
  1         2  
  1         7  
4             has Artifacts => (is => 'ro', isa => 'Paws::CodeBuild::ProjectArtifacts', traits => ['NameInRequest'], request_name => 'artifacts' );
5             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
6             has EncryptionKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'encryptionKey' );
7             has Environment => (is => 'ro', isa => 'Paws::CodeBuild::ProjectEnvironment', traits => ['NameInRequest'], request_name => 'environment' );
8             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
9             has ServiceRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceRole' );
10             has Source => (is => 'ro', isa => 'Paws::CodeBuild::ProjectSource', traits => ['NameInRequest'], request_name => 'source' );
11             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
12             has TimeoutInMinutes => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'timeoutInMinutes' );
13              
14 1     1   5868 use MooseX::ClassAttribute;
  1         2  
  1         7  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateProject');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::UpdateProjectOutput');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::CodeBuild::UpdateProject - Arguments for method UpdateProject on Paws::CodeBuild
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method UpdateProject on the
30             AWS CodeBuild service. Use the attributes of this class
31             as arguments to method UpdateProject.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateProject.
34              
35             As an example:
36              
37             $service_obj->UpdateProject(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Artifacts => L<Paws::CodeBuild::ProjectArtifacts>
45              
46             Information to be changed about the build output artifacts for the
47             build project.
48              
49              
50              
51             =head2 Description => Str
52              
53             A new or replacement description of the build project.
54              
55              
56              
57             =head2 EncryptionKey => Str
58              
59             The replacement AWS Key Management Service (AWS KMS) customer master
60             key (CMK) to be used for encrypting the build output artifacts.
61              
62             You can specify either the CMK's Amazon Resource Name (ARN) or, if
63             available, the CMK's alias (using the format C<alias/I<alias-name> >).
64              
65              
66              
67             =head2 Environment => L<Paws::CodeBuild::ProjectEnvironment>
68              
69             Information to be changed about the build environment for the build
70             project.
71              
72              
73              
74             =head2 B<REQUIRED> Name => Str
75              
76             The name of the build project.
77              
78             You cannot change a build project's name.
79              
80              
81              
82             =head2 ServiceRole => Str
83              
84             The replacement ARN of the AWS Identity and Access Management (IAM)
85             role that enables AWS CodeBuild to interact with dependent AWS services
86             on behalf of the AWS account.
87              
88              
89              
90             =head2 Source => L<Paws::CodeBuild::ProjectSource>
91              
92             Information to be changed about the build input source code for the
93             build project.
94              
95              
96              
97             =head2 Tags => ArrayRef[L<Paws::CodeBuild::Tag>]
98              
99             The replacement set of tags for this build project.
100              
101             These tags are available for use by AWS services that support AWS
102             CodeBuild build project tags.
103              
104              
105              
106             =head2 TimeoutInMinutes => Int
107              
108             The replacement value in minutes, from 5 to 480 (8 hours), for AWS
109             CodeBuild to wait before timing out any related build that did not get
110             marked as completed.
111              
112              
113              
114              
115             =head1 SEE ALSO
116              
117             This class forms part of L<Paws>, documenting arguments for method UpdateProject 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