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

Description

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

Synopsis

Creating a Request

data PutJobSuccessResult Source #

Represents the input of a PutJobSuccessResult action.

See: newPutJobSuccessResult smart constructor.

Constructors

PutJobSuccessResult' 

Fields

  • continuationToken :: Maybe Text

    A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

  • currentRevision :: Maybe CurrentRevision

    The ID of the current revision of the artifact successfully worked on by the job.

  • executionDetails :: Maybe ExecutionDetails

    The execution details of the successful job, such as the actions taken by the job worker.

  • outputVariables :: Maybe (HashMap Text Text)

    Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.

  • jobId :: Text

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

Instances

Instances details
ToJSON PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

ToHeaders PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

ToPath PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

ToQuery PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

AWSRequest PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type AWSResponse PutJobSuccessResult #

Generic PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResult :: Type -> Type #

Read PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

NFData PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Methods

rnf :: PutJobSuccessResult -> () #

Eq PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Hashable PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

type AWSResponse PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResult = D1 ('MetaData "PutJobSuccessResult" "Amazonka.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "PutJobSuccessResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "continuationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "currentRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrentRevision))) :*: (S1 ('MetaSel ('Just "executionDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionDetails)) :*: (S1 ('MetaSel ('Just "outputVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newPutJobSuccessResult Source #

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

PutJobSuccessResult, putJobSuccessResult_continuationToken - A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

PutJobSuccessResult, putJobSuccessResult_currentRevision - The ID of the current revision of the artifact successfully worked on by the job.

$sel:executionDetails:PutJobSuccessResult', putJobSuccessResult_executionDetails - The execution details of the successful job, such as the actions taken by the job worker.

PutJobSuccessResult, putJobSuccessResult_outputVariables - Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.

PutJobSuccessResult, putJobSuccessResult_jobId - The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

Request Lenses

putJobSuccessResult_continuationToken :: Lens' PutJobSuccessResult (Maybe Text) Source #

A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

putJobSuccessResult_currentRevision :: Lens' PutJobSuccessResult (Maybe CurrentRevision) Source #

The ID of the current revision of the artifact successfully worked on by the job.

putJobSuccessResult_executionDetails :: Lens' PutJobSuccessResult (Maybe ExecutionDetails) Source #

The execution details of the successful job, such as the actions taken by the job worker.

putJobSuccessResult_outputVariables :: Lens' PutJobSuccessResult (Maybe (HashMap Text Text)) Source #

Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.

putJobSuccessResult_jobId :: Lens' PutJobSuccessResult Text Source #

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

Destructuring the Response

data PutJobSuccessResultResponse Source #

See: newPutJobSuccessResultResponse smart constructor.

Instances

Instances details
Generic PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResultResponse :: Type -> Type #

Read PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

NFData PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Eq PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

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

newPutJobSuccessResultResponse :: PutJobSuccessResultResponse Source #

Create a value of PutJobSuccessResultResponse with all optional fields omitted.

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