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.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 Source #

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 Source #

Represents the input of an UpdatePipeline action.

See: updatePipeline smart constructor.

Instances

Eq UpdatePipeline Source # 
Data UpdatePipeline Source # 

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 Source # 
Show UpdatePipeline Source # 
Generic UpdatePipeline Source # 

Associated Types

type Rep UpdatePipeline :: * -> * #

Hashable UpdatePipeline Source # 
ToJSON UpdatePipeline Source # 
NFData UpdatePipeline Source # 

Methods

rnf :: UpdatePipeline -> () #

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

Request Lenses

upPipeline :: Lens' UpdatePipeline PipelineDeclaration Source #

The name of the pipeline to be updated.

Destructuring the Response

updatePipelineResponse Source #

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 Source #

Represents the output of an UpdatePipeline action.

See: updatePipelineResponse smart constructor.

Instances

Eq UpdatePipelineResponse Source # 
Data UpdatePipelineResponse Source # 

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 Source # 
Show UpdatePipelineResponse Source # 
Generic UpdatePipelineResponse Source # 
NFData UpdatePipelineResponse Source # 

Methods

rnf :: UpdatePipelineResponse -> () #

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

Response Lenses

uprsPipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration) Source #

The structure of the updated pipeline.

uprsResponseStatus :: Lens' UpdatePipelineResponse Int Source #

  • - | The response status code.