« blib/lib/Paws/CodeBuild/BuildNotDeleted.pm
↑ Summary
blib/lib/Paws/CodeBuild/BuildStatusConfig.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeBuild::BuildPhase; | ||
| 3 | use Moose; | ||
| 4 | has Contexts => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::PhaseContext]', request_name => 'contexts', traits => ['NameInRequest']); | ||
| 5 | has DurationInSeconds => (is => 'ro', isa => 'Int', request_name => 'durationInSeconds', traits => ['NameInRequest']); | ||
| 6 | has EndTime => (is => 'ro', isa => 'Str', request_name => 'endTime', traits => ['NameInRequest']); | ||
| 7 | has PhaseStatus => (is => 'ro', isa => 'Str', request_name => 'phaseStatus', traits => ['NameInRequest']); | ||
| 8 | has PhaseType => (is => 'ro', isa => 'Str', request_name => 'phaseType', traits => ['NameInRequest']); | ||
| 9 | has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest']); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::CodeBuild::BuildPhase | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::CodeBuild::BuildPhase object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Contexts => $value, ..., StartTime => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::BuildPhase object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Contexts | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Information about a stage for a build. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Contexts => ArrayRef[L<Paws::CodeBuild::PhaseContext>] | ||
| 47 | |||
| 48 | Additional information about a build phase, especially to help | ||
| 49 | troubleshoot a failed build. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 DurationInSeconds => Int | ||
| 53 | |||
| 54 | How long, in seconds, between the starting and ending times of the | ||
| 55 | build's phase. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 EndTime => Str | ||
| 59 | |||
| 60 | When the build phase ended, expressed in Unix time format. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 PhaseStatus => Str | ||
| 64 | |||
| 65 | The current status of the build phase. Valid values include: | ||
| 66 | |||
| 67 | =over | ||
| 68 | |||
| 69 | =item FAILED | ||
| 70 | |||
| 71 | The build phase failed. | ||
| 72 | |||
| 73 | =item FAULT | ||
| 74 | |||
| 75 | The build phase faulted. | ||
| 76 | |||
| 77 | =item IN_PROGRESS | ||
| 78 | |||
| 79 | The build phase is still in progress. | ||
| 80 | |||
| 81 | =item QUEUED | ||
| 82 | |||
| 83 | The build has been submitted and is queued behind other submitted | ||
| 84 | builds. | ||
| 85 | |||
| 86 | =item STOPPED | ||
| 87 | |||
| 88 | The build phase stopped. | ||
| 89 | |||
| 90 | =item SUCCEEDED | ||
| 91 | |||
| 92 | The build phase succeeded. | ||
| 93 | |||
| 94 | =item TIMED_OUT | ||
| 95 | |||
| 96 | The build phase timed out. | ||
| 97 | |||
| 98 | =back | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 PhaseType => Str | ||
| 103 | |||
| 104 | The name of the build phase. Valid values include: | ||
| 105 | |||
| 106 | =over | ||
| 107 | |||
| 108 | =item * | ||
| 109 | |||
| 110 | C<BUILD>: Core build activities typically occur in this build phase. | ||
| 111 | |||
| 112 | =item * | ||
| 113 | |||
| 114 | C<COMPLETED>: The build has been completed. | ||
| 115 | |||
| 116 | =item * | ||
| 117 | |||
| 118 | C<DOWNLOAD_SOURCE>: Source code is being downloaded in this build | ||
| 119 | phase. | ||
| 120 | |||
| 121 | =item * | ||
| 122 | |||
| 123 | C<FINALIZING>: The build process is completing in this build phase. | ||
| 124 | |||
| 125 | =item * | ||
| 126 | |||
| 127 | C<INSTALL>: Installation activities typically occur in this build | ||
| 128 | phase. | ||
| 129 | |||
| 130 | =item * | ||
| 131 | |||
| 132 | C<POST_BUILD>: Post-build activities typically occur in this build | ||
| 133 | phase. | ||
| 134 | |||
| 135 | =item * | ||
| 136 | |||
| 137 | C<PRE_BUILD>: Pre-build activities typically occur in this build phase. | ||
| 138 | |||
| 139 | =item * | ||
| 140 | |||
| 141 | C<PROVISIONING>: The build environment is being set up. | ||
| 142 | |||
| 143 | =item * | ||
| 144 | |||
| 145 | C<QUEUED>: The build has been submitted and is queued behind other | ||
| 146 | submitted builds. | ||
| 147 | |||
| 148 | =item * | ||
| 149 | |||
| 150 | C<SUBMITTED>: The build has been submitted. | ||
| 151 | |||
| 152 | =item * | ||
| 153 | |||
| 154 | C<UPLOAD_ARTIFACTS>: Build output artifacts are being uploaded to the | ||
| 155 | output location. | ||
| 156 | |||
| 157 | =back | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | =head2 StartTime => Str | ||
| 162 | |||
| 163 | When the build phase started, expressed in Unix time format. | ||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =head1 SEE ALSO | ||
| 168 | |||
| 169 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeBuild> | ||
| 170 | |||
| 171 | =head1 BUGS and CONTRIBUTIONS | ||
| 172 | |||
| 173 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 174 | |||
| 175 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 176 | |||
| 177 | =cut | ||
| 178 |