libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
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.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

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

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

  • executionDetails :: Maybe ExecutionDetails

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

  • currentRevision :: Maybe CurrentRevision

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

  • jobId :: Text

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

Instances

Instances details
Eq PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Read PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResult :: Type -> Type #

NFData PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Methods

rnf :: PutJobSuccessResult -> () #

Hashable PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

ToJSON PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

AWSRequest PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type AWSResponse 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

type Rep PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResult = D1 ('MetaData "PutJobSuccessResult" "Amazonka.CodePipeline.PutJobSuccessResult" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "PutJobSuccessResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "outputVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "continuationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "executionDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionDetails)) :*: (S1 ('MetaSel ('Just "currentRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrentRevision)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse PutJobSuccessResult Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

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:

$sel:outputVariables: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.

$sel:continuationToken: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.

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

$sel:currentRevision:PutJobSuccessResult', putJobSuccessResult_currentRevision - The ID of the current revision of the artifact successfully worked on by the job.

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

Request Lenses

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_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_executionDetails :: Lens' PutJobSuccessResult (Maybe ExecutionDetails) Source #

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

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

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

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
Eq PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Read PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResultResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResultResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" '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.