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

Contents

Description

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

Synopsis

Creating a Request

putActionRevision #

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 #

Represents the input of a PutActionRevision action.

See: putActionRevision smart constructor.

Instances
Eq PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Data PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

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

Defined in Network.AWS.CodePipeline.PutActionRevision

Show PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Generic PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Associated Types

type Rep PutActionRevision :: * -> * #

Hashable PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

ToJSON PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

AWSRequest PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Associated Types

type Rs PutActionRevision :: * #

ToHeaders PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

ToPath PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

ToQuery PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

NFData PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Methods

rnf :: PutActionRevision -> () #

type Rep PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

type Rep PutActionRevision = D1 (MetaData "PutActionRevision" "Network.AWS.CodePipeline.PutActionRevision" "amazonka-codepipeline-1.6.0-CC2BPnoufmqE0zbjOUPBZ9" False) (C1 (MetaCons "PutActionRevision'" PrefixI True) ((S1 (MetaSel (Just "_pPipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pActionRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActionRevision))))
type Rs PutActionRevision # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Request Lenses

pPipelineName :: Lens' PutActionRevision Text #

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

pStageName :: Lens' PutActionRevision Text #

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

pActionName :: Lens' PutActionRevision Text #

The name of the action that will process the revision.

pActionRevision :: Lens' PutActionRevision ActionRevision #

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

Destructuring the Response

putActionRevisionResponse #

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 #

Represents the output of a PutActionRevision action.

See: putActionRevisionResponse smart constructor.

Instances
Eq PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Data PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

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

Defined in Network.AWS.CodePipeline.PutActionRevision

Show PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Generic PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

Associated Types

type Rep PutActionRevisionResponse :: * -> * #

NFData PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

type Rep PutActionRevisionResponse # 
Instance details

Defined in Network.AWS.CodePipeline.PutActionRevision

type Rep PutActionRevisionResponse = D1 (MetaData "PutActionRevisionResponse" "Network.AWS.CodePipeline.PutActionRevision" "amazonka-codepipeline-1.6.0-CC2BPnoufmqE0zbjOUPBZ9" False) (C1 (MetaCons "PutActionRevisionResponse'" PrefixI True) (S1 (MetaSel (Just "_prsNewRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_prsPipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

prsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool) #

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

prsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text) #

The ID of the current workflow state of the pipeline.

prsResponseStatus :: Lens' PutActionRevisionResponse Int #

  • - | The response status code.