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

Contents

Description

Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline .

Synopsis

Creating a Request

getPipeline Source #

Arguments

:: Text

gpName

-> GetPipeline 

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

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

  • gpVersion - The version number of the pipeline. If you do not specify a version, defaults to the most current version.
  • gpName - The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.

data GetPipeline Source #

Represents the input of a GetPipeline action.

See: getPipeline smart constructor.

Instances

Eq GetPipeline Source # 
Data GetPipeline Source # 

Methods

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

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

toConstr :: GetPipeline -> Constr #

dataTypeOf :: GetPipeline -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPipeline Source # 
Show GetPipeline Source # 
Generic GetPipeline Source # 

Associated Types

type Rep GetPipeline :: * -> * #

Hashable GetPipeline Source # 
ToJSON GetPipeline Source # 
NFData GetPipeline Source # 

Methods

rnf :: GetPipeline -> () #

AWSRequest GetPipeline Source # 
ToQuery GetPipeline Source # 
ToPath GetPipeline Source # 
ToHeaders GetPipeline Source # 

Methods

toHeaders :: GetPipeline -> [Header] #

type Rep GetPipeline Source # 
type Rep GetPipeline = D1 (MetaData "GetPipeline" "Network.AWS.CodePipeline.GetPipeline" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "GetPipeline'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gpVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_gpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetPipeline Source # 

Request Lenses

gpVersion :: Lens' GetPipeline (Maybe Natural) Source #

The version number of the pipeline. If you do not specify a version, defaults to the most current version.

gpName :: Lens' GetPipeline Text Source #

The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.

Destructuring the Response

getPipelineResponse Source #

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

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

  • gprsPipeline - Represents the structure of actions and stages to be performed in the pipeline.
  • gprsMetadata - Represents the pipeline metadata information returned as part of the output of a GetPipeline action.
  • gprsResponseStatus - -- | The response status code.

data GetPipelineResponse Source #

Represents the output of a GetPipeline action.

See: getPipelineResponse smart constructor.

Instances

Eq GetPipelineResponse Source # 
Data GetPipelineResponse Source # 

Methods

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

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

toConstr :: GetPipelineResponse -> Constr #

dataTypeOf :: GetPipelineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPipelineResponse Source # 
Show GetPipelineResponse Source # 
Generic GetPipelineResponse Source # 
NFData GetPipelineResponse Source # 

Methods

rnf :: GetPipelineResponse -> () #

type Rep GetPipelineResponse Source # 
type Rep GetPipelineResponse = D1 (MetaData "GetPipelineResponse" "Network.AWS.CodePipeline.GetPipeline" "amazonka-codepipeline-1.5.0-BYFgK5oCiPTDLF5tMR5fvg" False) (C1 (MetaCons "GetPipelineResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gprsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PipelineDeclaration))) ((:*:) (S1 (MetaSel (Just Symbol "_gprsMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PipelineMetadata))) (S1 (MetaSel (Just Symbol "_gprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration) Source #

Represents the structure of actions and stages to be performed in the pipeline.

gprsMetadata :: Lens' GetPipelineResponse (Maybe PipelineMetadata) Source #

Represents the pipeline metadata information returned as part of the output of a GetPipeline action.

gprsResponseStatus :: Lens' GetPipelineResponse Int Source #

  • - | The response status code.