amazonka-codepipeline-1.4.5: Amazon CodePipeline SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodePipeline.UpdatePipeline

Contents

Description

Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.

Synopsis

Creating a Request

updatePipeline #

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

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

  • upPipeline - The name of the pipeline to be updated.

data UpdatePipeline #

Represents the input of an update pipeline action.

See: updatePipeline smart constructor.

Instances

Eq UpdatePipeline # 
Data UpdatePipeline # 

Methods

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

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

toConstr :: UpdatePipeline -> Constr #

dataTypeOf :: UpdatePipeline -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePipeline # 
Show UpdatePipeline # 
Generic UpdatePipeline # 

Associated Types

type Rep UpdatePipeline :: * -> * #

Hashable UpdatePipeline # 
ToJSON UpdatePipeline # 
NFData UpdatePipeline # 

Methods

rnf :: UpdatePipeline -> () #

AWSRequest UpdatePipeline # 
ToQuery UpdatePipeline # 
ToPath UpdatePipeline # 
ToHeaders UpdatePipeline # 
type Rep UpdatePipeline # 
type Rep UpdatePipeline = D1 (MetaData "UpdatePipeline" "Network.AWS.CodePipeline.UpdatePipeline" "amazonka-codepipeline-1.4.5-7l6xH8NU5nx4wRSql2Kh3c" True) (C1 (MetaCons "UpdatePipeline'" PrefixI True) (S1 (MetaSel (Just Symbol "_upPipeline") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PipelineDeclaration)))
type Rs UpdatePipeline # 

Request Lenses

upPipeline :: Lens' UpdatePipeline PipelineDeclaration #

The name of the pipeline to be updated.

Destructuring the Response

updatePipelineResponse #

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

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

data UpdatePipelineResponse #

Represents the output of an update pipeline action.

See: updatePipelineResponse smart constructor.

Instances

Eq UpdatePipelineResponse # 
Data UpdatePipelineResponse # 

Methods

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

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

toConstr :: UpdatePipelineResponse -> Constr #

dataTypeOf :: UpdatePipelineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePipelineResponse # 
Show UpdatePipelineResponse # 
Generic UpdatePipelineResponse # 
NFData UpdatePipelineResponse # 

Methods

rnf :: UpdatePipelineResponse -> () #

type Rep UpdatePipelineResponse # 
type Rep UpdatePipelineResponse = D1 (MetaData "UpdatePipelineResponse" "Network.AWS.CodePipeline.UpdatePipeline" "amazonka-codepipeline-1.4.5-7l6xH8NU5nx4wRSql2Kh3c" False) (C1 (MetaCons "UpdatePipelineResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uprsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PipelineDeclaration))) (S1 (MetaSel (Just Symbol "_uprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uprsPipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration) #

The structure of the updated pipeline.

uprsResponseStatus :: Lens' UpdatePipelineResponse Int #

  • - | The response status code.