amazonka-codepipeline-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Data UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.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 Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Show UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Generic UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipeline :: Type -> Type #

Hashable UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToJSON UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

AWSRequest UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rs UpdatePipeline :: Type #

ToHeaders UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToPath UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToQuery UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

NFData UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipeline -> () #

type Rep UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

type Rep UpdatePipeline = D1 (MetaData "UpdatePipeline" "Network.AWS.CodePipeline.UpdatePipeline" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" True) (C1 (MetaCons "UpdatePipeline'" PrefixI True) (S1 (MetaSel (Just "_upPipeline") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PipelineDeclaration)))
type Rs UpdatePipeline Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

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

Defined in Network.AWS.CodePipeline.UpdatePipeline

Data UpdatePipelineResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

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

Defined in Network.AWS.CodePipeline.UpdatePipeline

Show UpdatePipelineResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Generic UpdatePipelineResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipelineResponse :: Type -> Type #

NFData UpdatePipelineResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipelineResponse -> () #

type Rep UpdatePipelineResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

type Rep UpdatePipelineResponse = D1 (MetaData "UpdatePipelineResponse" "Network.AWS.CodePipeline.UpdatePipeline" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "UpdatePipelineResponse'" PrefixI True) (S1 (MetaSel (Just "_uprsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PipelineDeclaration)) :*: S1 (MetaSel (Just "_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.