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.BuildBatchPhase

Description

 
Synopsis

Documentation

data BuildBatchPhase Source #

Contains information about a stage for a batch build.

See: newBuildBatchPhase smart constructor.

Constructors

BuildBatchPhase' 

Fields

  • contexts :: Maybe [PhaseContext]

    Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

  • startTime :: Maybe POSIX

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

  • phaseStatus :: Maybe StatusType

    The current status of the batch 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 BuildBatchPhaseType

    The name of the batch build phase. Valid values include:

    COMBINE_ARTIFACTS
    Build output artifacts are being combined and uploaded to the output location.
    DOWNLOAD_BATCHSPEC
    The batch build specification is being downloaded.
    FAILED
    One or more of the builds failed.
    IN_PROGRESS
    The batch build is in progress.
    STOPPED
    The batch build was stopped.
    SUBMITTED
    The btach build has been submitted.
    SUCCEEDED
    The batch build succeeded.
  • endTime :: Maybe POSIX

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

  • durationInSeconds :: Maybe Integer

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

Instances

Instances details
Eq BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

Read BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

Show BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

Generic BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

Associated Types

type Rep BuildBatchPhase :: Type -> Type #

NFData BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

Methods

rnf :: BuildBatchPhase -> () #

Hashable BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

FromJSON BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

type Rep BuildBatchPhase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildBatchPhase

type Rep BuildBatchPhase = D1 ('MetaData "BuildBatchPhase" "Amazonka.CodeBuild.Types.BuildBatchPhase" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "BuildBatchPhase'" '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 BuildBatchPhaseType)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "durationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newBuildBatchPhase :: BuildBatchPhase Source #

Create a value of BuildBatchPhase 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:BuildBatchPhase', buildBatchPhase_contexts - Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

$sel:startTime:BuildBatchPhase', buildBatchPhase_startTime - When the batch build phase started, expressed in Unix time format.

$sel:phaseStatus:BuildBatchPhase', buildBatchPhase_phaseStatus - The current status of the batch 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:BuildBatchPhase', buildBatchPhase_phaseType - The name of the batch build phase. Valid values include:

COMBINE_ARTIFACTS
Build output artifacts are being combined and uploaded to the output location.
DOWNLOAD_BATCHSPEC
The batch build specification is being downloaded.
FAILED
One or more of the builds failed.
IN_PROGRESS
The batch build is in progress.
STOPPED
The batch build was stopped.
SUBMITTED
The btach build has been submitted.
SUCCEEDED
The batch build succeeded.

$sel:endTime:BuildBatchPhase', buildBatchPhase_endTime - When the batch build phase ended, expressed in Unix time format.

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

buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext]) Source #

Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime) Source #

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

buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType) Source #

The current status of the batch 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.

buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType) Source #

The name of the batch build phase. Valid values include:

COMBINE_ARTIFACTS
Build output artifacts are being combined and uploaded to the output location.
DOWNLOAD_BATCHSPEC
The batch build specification is being downloaded.
FAILED
One or more of the builds failed.
IN_PROGRESS
The batch build is in progress.
STOPPED
The batch build was stopped.
SUBMITTED
The btach build has been submitted.
SUCCEEDED
The batch build succeeded.

buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime) Source #

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

buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer) Source #

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