amazonka-codepipeline-1.6.1: Amazon CodePipeline SDK.

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Data PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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 # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResult :: Type -> Type #

Hashable PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToJSON PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

AWSRequest PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rs PutJobSuccessResult :: Type #

ToHeaders PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToPath PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToQuery PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

NFData PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Methods

rnf :: PutJobSuccessResult -> () #

type Rep PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResult = D1 (MetaData "PutJobSuccessResult" "Network.AWS.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "PutJobSuccessResult'" PrefixI True) ((S1 (MetaSel (Just "_pjsrContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjsrExecutionDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExecutionDetails))) :*: (S1 (MetaSel (Just "_pjsrCurrentRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CurrentRevision)) :*: S1 (MetaSel (Just "_pjsrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs PutJobSuccessResult Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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 # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Data PutJobSuccessResultResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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 # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResultResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResultResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResultResponse :: Type -> Type #

NFData PutJobSuccessResultResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResultResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResultResponse = D1 (MetaData "PutJobSuccessResultResponse" "Network.AWS.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "PutJobSuccessResultResponse'" PrefixI False) (U1 :: Type -> Type))