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

Contents

Description

Provides information to AWS CodePipeline about new revisions to a source.

Synopsis

Creating a Request

putActionRevision Source #

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

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

  • pPipelineName - The name of the pipeline that will start processing the revision to the source.
  • pStageName - The name of the stage that contains the action that will act upon the revision.
  • pActionName - The name of the action that will process the revision.
  • pActionRevision - Represents information about the version (or revision) of an action.

data PutActionRevision Source #

Represents the input of a PutActionRevision action.

See: putActionRevision smart constructor.

Instances

Eq PutActionRevision Source # 
Data PutActionRevision Source # 

Methods

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

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

toConstr :: PutActionRevision -> Constr #

dataTypeOf :: PutActionRevision -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: PutActionRevision -> () #

AWSRequest PutActionRevision Source # 
ToQuery PutActionRevision Source # 
ToPath PutActionRevision Source # 
ToHeaders PutActionRevision Source # 
type Rep PutActionRevision Source # 
type Rep PutActionRevision = D1 (MetaData "PutActionRevision" "Network.AWS.CodePipeline.PutActionRevision" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "PutActionRevision'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pPipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pActionRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActionRevision)))))
type Rs PutActionRevision Source # 

Request Lenses

pPipelineName :: Lens' PutActionRevision Text Source #

The name of the pipeline that will start processing the revision to the source.

pStageName :: Lens' PutActionRevision Text Source #

The name of the stage that contains the action that will act upon the revision.

pActionName :: Lens' PutActionRevision Text Source #

The name of the action that will process the revision.

pActionRevision :: Lens' PutActionRevision ActionRevision Source #

Represents information about the version (or revision) of an action.

Destructuring the Response

putActionRevisionResponse Source #

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

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

data PutActionRevisionResponse Source #

Represents the output of a PutActionRevision action.

See: putActionRevisionResponse smart constructor.

Instances

Eq PutActionRevisionResponse Source # 
Data PutActionRevisionResponse Source # 

Methods

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

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

toConstr :: PutActionRevisionResponse -> Constr #

dataTypeOf :: PutActionRevisionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutActionRevisionResponse Source # 
Show PutActionRevisionResponse Source # 
Generic PutActionRevisionResponse Source # 
NFData PutActionRevisionResponse Source # 
type Rep PutActionRevisionResponse Source # 
type Rep PutActionRevisionResponse = D1 (MetaData "PutActionRevisionResponse" "Network.AWS.CodePipeline.PutActionRevision" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "PutActionRevisionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_prsNewRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_prsPipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

prsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool) Source #

Indicates whether the artifact revision was previously used in an execution of the specified pipeline.

prsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text) Source #

The ID of the current workflow state of the pipeline.