amazonka-codepipeline-2.0: Amazon CodePipeline 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.CodePipeline.PutJobFailureResult

Description

Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.

Synopsis

Creating a Request

data PutJobFailureResult Source #

Represents the input of a PutJobFailureResult action.

See: newPutJobFailureResult smart constructor.

Constructors

PutJobFailureResult' 

Fields

  • jobId :: Text

    The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.

  • failureDetails :: FailureDetails

    The details about the failure of a job.

Instances

Instances details
ToJSON PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

ToHeaders PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

ToPath PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

ToQuery PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

AWSRequest PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Associated Types

type AWSResponse PutJobFailureResult #

Generic PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Associated Types

type Rep PutJobFailureResult :: Type -> Type #

Read PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Show PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

NFData PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Methods

rnf :: PutJobFailureResult -> () #

Eq PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Hashable PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

type AWSResponse PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

type Rep PutJobFailureResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

type Rep PutJobFailureResult = D1 ('MetaData "PutJobFailureResult" "Amazonka.CodePipeline.PutJobFailureResult" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "PutJobFailureResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "failureDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FailureDetails)))

newPutJobFailureResult Source #

Create a value of PutJobFailureResult 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:

PutJobFailureResult, putJobFailureResult_jobId - The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.

$sel:failureDetails:PutJobFailureResult', putJobFailureResult_failureDetails - The details about the failure of a job.

Request Lenses

putJobFailureResult_jobId :: Lens' PutJobFailureResult Text Source #

The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.

Destructuring the Response

data PutJobFailureResultResponse Source #

See: newPutJobFailureResultResponse smart constructor.

Instances

Instances details
Generic PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Associated Types

type Rep PutJobFailureResultResponse :: Type -> Type #

Read PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Show PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

NFData PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

Eq PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

type Rep PutJobFailureResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobFailureResult

type Rep PutJobFailureResultResponse = D1 ('MetaData "PutJobFailureResultResponse" "Amazonka.CodePipeline.PutJobFailureResult" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "PutJobFailureResultResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutJobFailureResultResponse :: PutJobFailureResultResponse Source #

Create a value of PutJobFailureResultResponse with all optional fields omitted.

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