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.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 UpdatePipeline action.

See: updatePipeline smart constructor.

Instances
Eq UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

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

Defined in Network.AWS.CodePipeline.UpdatePipeline

Show UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Generic UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipeline :: * -> * #

Hashable UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToJSON UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

AWSRequest UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rs UpdatePipeline :: * #

ToHeaders UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToPath UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

ToQuery UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

NFData UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipeline -> () #

type Rep UpdatePipeline # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

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

Defined in Network.AWS.CodePipeline.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 UpdatePipeline action.

See: updatePipelineResponse smart constructor.

Instances
Eq UpdatePipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

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

Defined in Network.AWS.CodePipeline.UpdatePipeline

Show UpdatePipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Generic UpdatePipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipelineResponse :: * -> * #

NFData UpdatePipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipelineResponse -> () #

type Rep UpdatePipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.UpdatePipeline

type Rep UpdatePipelineResponse = D1 (MetaData "UpdatePipelineResponse" "Network.AWS.CodePipeline.UpdatePipeline" "amazonka-codepipeline-1.6.0-CC2BPnoufmqE0zbjOUPBZ9" 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) #

The structure of the updated pipeline.

uprsResponseStatus :: Lens' UpdatePipelineResponse Int #

  • - | The response status code.