amazonka-codebuild-2.0: Amazon CodeBuild SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeBuild.Types.PhaseContext

Description

 
Synopsis

Documentation

data PhaseContext Source #

Additional information about a build phase that has an error. You can use this information for troubleshooting.

See: newPhaseContext smart constructor.

Constructors

PhaseContext' 

Fields

  • message :: Maybe Text

    An explanation of the build phase's context. This might include a command ID and an exit code.

  • statusCode :: Maybe Text

    The status code for the context of the build phase.

Instances

Instances details
FromJSON PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

Generic PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

Associated Types

type Rep PhaseContext :: Type -> Type #

Read PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

Show PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

NFData PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

Methods

rnf :: PhaseContext -> () #

Eq PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

Hashable PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

type Rep PhaseContext Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.PhaseContext

type Rep PhaseContext = D1 ('MetaData "PhaseContext" "Amazonka.CodeBuild.Types.PhaseContext" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "PhaseContext'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPhaseContext :: PhaseContext Source #

Create a value of PhaseContext 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:message:PhaseContext', phaseContext_message - An explanation of the build phase's context. This might include a command ID and an exit code.

$sel:statusCode:PhaseContext', phaseContext_statusCode - The status code for the context of the build phase.

phaseContext_message :: Lens' PhaseContext (Maybe Text) Source #

An explanation of the build phase's context. This might include a command ID and an exit code.

phaseContext_statusCode :: Lens' PhaseContext (Maybe Text) Source #

The status code for the context of the build phase.