amazonka-codepipeline-1.6.0: 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 #

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 #

Represents the input of a PutJobSuccessResult action.

See: putJobSuccessResult smart constructor.

Instances
Eq PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResult :: * -> * #

Hashable PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToJSON PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

AWSRequest PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rs PutJobSuccessResult :: * #

ToHeaders PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToPath PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

ToQuery PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

NFData PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Methods

rnf :: PutJobSuccessResult -> () #

type Rep PutJobSuccessResult # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResult = D1 (MetaData "PutJobSuccessResult" "Network.AWS.CodePipeline.PutJobSuccessResult" "amazonka-codepipeline-1.6.0-CC2BPnoufmqE0zbjOUPBZ9" 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 # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Request Lenses

pjsrContinuationToken :: Lens' PutJobSuccessResult (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 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) #

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

pjsrCurrentRevision :: Lens' PutJobSuccessResult (Maybe CurrentRevision) #

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

pjsrJobId :: Lens' PutJobSuccessResult Text #

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

Destructuring the Response

putJobSuccessResultResponse :: PutJobSuccessResultResponse #

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

data PutJobSuccessResultResponse #

See: putJobSuccessResultResponse smart constructor.

Instances
Eq PutJobSuccessResultResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Show PutJobSuccessResultResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Generic PutJobSuccessResultResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

Associated Types

type Rep PutJobSuccessResultResponse :: * -> * #

NFData PutJobSuccessResultResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

type Rep PutJobSuccessResultResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutJobSuccessResult

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