libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.Types.BuildPhase

Description

 
Synopsis

Documentation

data BuildPhase Source #

Information about a stage for a build.

See: newBuildPhase smart constructor.

Constructors

BuildPhase' 

Fields

  • contexts :: Maybe [PhaseContext]

    Additional information about a build phase, especially to help troubleshoot a failed build.

  • startTime :: Maybe POSIX

    When the build phase started, expressed in Unix time format.

  • phaseStatus :: Maybe StatusType

    The current status of the build phase. Valid values include:

    FAILED
    The build phase failed.
    FAULT
    The build phase faulted.
    IN_PROGRESS
    The build phase is still in progress.
    STOPPED
    The build phase stopped.
    SUCCEEDED
    The build phase succeeded.
    TIMED_OUT
    The build phase timed out.
  • phaseType :: Maybe BuildPhaseType

    The name of the build phase. Valid values include:

    BUILD
    Core build activities typically occur in this build phase.
    COMPLETED
    The build has been completed.
    DOWNLOAD_SOURCE
    Source code is being downloaded in this build phase.
    FINALIZING
    The build process is completing in this build phase.
    INSTALL
    Installation activities typically occur in this build phase.
    POST_BUILD
    Post-build activities typically occur in this build phase.
    PRE_BUILD
    Pre-build activities typically occur in this build phase.
    PROVISIONING
    The build environment is being set up.
    QUEUED
    The build has been submitted and is queued behind other submitted builds.
    SUBMITTED
    The build has been submitted.
    UPLOAD_ARTIFACTS
    Build output artifacts are being uploaded to the output location.
  • endTime :: Maybe POSIX

    When the build phase ended, expressed in Unix time format.

  • durationInSeconds :: Maybe Integer

    How long, in seconds, between the starting and ending times of the build's phase.

Instances

Instances details
Eq BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

Read BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

Show BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

Generic BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

Associated Types

type Rep BuildPhase :: Type -> Type #

NFData BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

Methods

rnf :: BuildPhase -> () #

Hashable BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

FromJSON BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

type Rep BuildPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildPhase

type Rep BuildPhase = D1 ('MetaData "BuildPhase" "Amazonka.CodeBuild.Types.BuildPhase" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "BuildPhase'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhaseContext])) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "phaseStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusType)))) :*: (S1 ('MetaSel ('Just "phaseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BuildPhaseType)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "durationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newBuildPhase :: BuildPhase Source #

Create a value of BuildPhase with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:contexts:BuildPhase', buildPhase_contexts - Additional information about a build phase, especially to help troubleshoot a failed build.

$sel:startTime:BuildPhase', buildPhase_startTime - When the build phase started, expressed in Unix time format.

$sel:phaseStatus:BuildPhase', buildPhase_phaseStatus - The current status of the build phase. Valid values include:

FAILED
The build phase failed.
FAULT
The build phase faulted.
IN_PROGRESS
The build phase is still in progress.
STOPPED
The build phase stopped.
SUCCEEDED
The build phase succeeded.
TIMED_OUT
The build phase timed out.

$sel:phaseType:BuildPhase', buildPhase_phaseType - The name of the build phase. Valid values include:

BUILD
Core build activities typically occur in this build phase.
COMPLETED
The build has been completed.
DOWNLOAD_SOURCE
Source code is being downloaded in this build phase.
FINALIZING
The build process is completing in this build phase.
INSTALL
Installation activities typically occur in this build phase.
POST_BUILD
Post-build activities typically occur in this build phase.
PRE_BUILD
Pre-build activities typically occur in this build phase.
PROVISIONING
The build environment is being set up.
QUEUED
The build has been submitted and is queued behind other submitted builds.
SUBMITTED
The build has been submitted.
UPLOAD_ARTIFACTS
Build output artifacts are being uploaded to the output location.

$sel:endTime:BuildPhase', buildPhase_endTime - When the build phase ended, expressed in Unix time format.

$sel:durationInSeconds:BuildPhase', buildPhase_durationInSeconds - How long, in seconds, between the starting and ending times of the build's phase.

buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext]) Source #

Additional information about a build phase, especially to help troubleshoot a failed build.

buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime) Source #

When the build phase started, expressed in Unix time format.

buildPhase_phaseStatus :: Lens' BuildPhase (Maybe StatusType) Source #

The current status of the build phase. Valid values include:

FAILED
The build phase failed.
FAULT
The build phase faulted.
IN_PROGRESS
The build phase is still in progress.
STOPPED
The build phase stopped.
SUCCEEDED
The build phase succeeded.
TIMED_OUT
The build phase timed out.

buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType) Source #

The name of the build phase. Valid values include:

BUILD
Core build activities typically occur in this build phase.
COMPLETED
The build has been completed.
DOWNLOAD_SOURCE
Source code is being downloaded in this build phase.
FINALIZING
The build process is completing in this build phase.
INSTALL
Installation activities typically occur in this build phase.
POST_BUILD
Post-build activities typically occur in this build phase.
PRE_BUILD
Pre-build activities typically occur in this build phase.
PROVISIONING
The build environment is being set up.
QUEUED
The build has been submitted and is queued behind other submitted builds.
SUBMITTED
The build has been submitted.
UPLOAD_ARTIFACTS
Build output artifacts are being uploaded to the output location.

buildPhase_endTime :: Lens' BuildPhase (Maybe UTCTime) Source #

When the build phase ended, expressed in Unix time format.

buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer) Source #

How long, in seconds, between the starting and ending times of the build's phase.