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

Contents

Description

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

Synopsis

Creating a Request

putJobFailureResult Source #

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

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

  • pjfrJobId - The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
  • pjfrFailureDetails - The details about the failure of a job.

data PutJobFailureResult Source #

Represents the input of a PutJobFailureResult action.

See: putJobFailureResult smart constructor.

Instances

Eq PutJobFailureResult Source # 
Data PutJobFailureResult Source # 

Methods

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

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

toConstr :: PutJobFailureResult -> Constr #

dataTypeOf :: PutJobFailureResult -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: PutJobFailureResult -> () #

AWSRequest PutJobFailureResult Source # 
ToHeaders PutJobFailureResult Source # 
ToPath PutJobFailureResult Source # 
ToQuery PutJobFailureResult Source # 
type Rep PutJobFailureResult Source # 
type Rep PutJobFailureResult = D1 * (MetaData "PutJobFailureResult" "Network.AWS.CodePipeline.PutJobFailureResult" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "PutJobFailureResult'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pjfrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pjfrFailureDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * FailureDetails))))
type Rs PutJobFailureResult Source # 

Request Lenses

pjfrJobId :: Lens' PutJobFailureResult Text Source #

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

pjfrFailureDetails :: Lens' PutJobFailureResult FailureDetails Source #

The details about the failure of a job.

Destructuring the Response

putJobFailureResultResponse :: PutJobFailureResultResponse Source #

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

data PutJobFailureResultResponse Source #

See: putJobFailureResultResponse smart constructor.

Instances

Eq PutJobFailureResultResponse Source # 
Data PutJobFailureResultResponse Source # 

Methods

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

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

toConstr :: PutJobFailureResultResponse -> Constr #

dataTypeOf :: PutJobFailureResultResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutJobFailureResultResponse Source # 
Show PutJobFailureResultResponse Source # 
Generic PutJobFailureResultResponse Source # 
NFData PutJobFailureResultResponse Source # 
type Rep PutJobFailureResultResponse Source # 
type Rep PutJobFailureResultResponse = D1 * (MetaData "PutJobFailureResultResponse" "Network.AWS.CodePipeline.PutJobFailureResult" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "PutJobFailureResultResponse'" PrefixI False) (U1 *))