amazonka-codepipeline-1.5.0: Amazon CodePipeline SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodePipeline.PutJobSuccessResult

Contents

Description

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

Synopsis

Creating a Request

putJobSuccessResult Source #

Creates a value of PutJobSuccessResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pjsrContinuationToken - 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 will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
  • pjsrExecutionDetails - The execution details of the successful job, such as the actions taken by the job worker.
  • pjsrCurrentRevision - The ID of the current revision of the artifact successfully worked upon by the job.
  • pjsrJobId - The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

data PutJobSuccessResult Source #

Represents the input of a PutJobSuccessResult action.

See: putJobSuccessResult smart constructor.

Instances

Eq PutJobSuccessResult Source # 
Data PutJobSuccessResult Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutJobSuccessResult -> c PutJobSuccessResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutJobSuccessResult #

toConstr :: PutJobSuccessResult -> Constr #

dataTypeOf :: PutJobSuccessResult -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutJobSuccessResult) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutJobSuccessResult) #

gmapT :: (forall b. Data b => b -> b) -> PutJobSuccessResult -> PutJobSuccessResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutJobSuccessResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutJobSuccessResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutJobSuccessResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutJobSuccessResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutJobSuccessResult -> m PutJobSuccessResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutJobSuccessResult -> m PutJobSuccessResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutJobSuccessResult -> m PutJobSuccessResult #

Read PutJobSuccessResult Source # 
Show PutJobSuccessResult Source # 
Generic PutJobSuccessResult Source # 
Hashable PutJobSuccessResult Source # 
ToJSON PutJobSuccessResult Source # 
NFData PutJobSuccessResult Source # 

Methods

rnf :: PutJobSuccessResult -> () #

AWSRequest PutJobSuccessResult Source # 
ToQuery PutJobSuccessResult Source # 
ToPath PutJobSuccessResult Source # 
ToHeaders PutJobSuccessResult Source # 
type Rep PutJobSuccessResult Source # 
type Rep PutJobSuccessResult = D1 (MetaData "PutJobSuccessResult" "Network.AWS.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "PutJobSuccessResult'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pjsrContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pjsrExecutionDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExecutionDetails)))) ((:*:) (S1 (MetaSel (Just Symbol "_pjsrCurrentRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CurrentRevision))) (S1 (MetaSel (Just Symbol "_pjsrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs PutJobSuccessResult Source # 

Request Lenses

pjsrContinuationToken :: 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 will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

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

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

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

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

pjsrJobId :: 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

putJobSuccessResultResponse :: PutJobSuccessResultResponse Source #

Creates a value of PutJobSuccessResultResponse with the minimum fields required to make a request.

data PutJobSuccessResultResponse Source #

See: putJobSuccessResultResponse smart constructor.

Instances

Eq PutJobSuccessResultResponse Source # 
Data PutJobSuccessResultResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutJobSuccessResultResponse -> c PutJobSuccessResultResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutJobSuccessResultResponse #

toConstr :: PutJobSuccessResultResponse -> Constr #

dataTypeOf :: PutJobSuccessResultResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutJobSuccessResultResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutJobSuccessResultResponse) #

gmapT :: (forall b. Data b => b -> b) -> PutJobSuccessResultResponse -> PutJobSuccessResultResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutJobSuccessResultResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutJobSuccessResultResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutJobSuccessResultResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutJobSuccessResultResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutJobSuccessResultResponse -> m PutJobSuccessResultResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutJobSuccessResultResponse -> m PutJobSuccessResultResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutJobSuccessResultResponse -> m PutJobSuccessResultResponse #

Read PutJobSuccessResultResponse Source # 
Show PutJobSuccessResultResponse Source # 
Generic PutJobSuccessResultResponse Source # 
NFData PutJobSuccessResultResponse Source # 
type Rep PutJobSuccessResultResponse Source # 
type Rep PutJobSuccessResultResponse = D1 (MetaData "PutJobSuccessResultResponse" "Network.AWS.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "PutJobSuccessResultResponse'" PrefixI False) U1)