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

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 #

Represents the input of a GetPipeline action.

See: getPipeline smart constructor.

Instances
Eq GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Data GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

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

Defined in Network.AWS.CodePipeline.GetPipeline

Show GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Generic GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Associated Types

type Rep GetPipeline :: * -> * #

Hashable GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

ToJSON GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

AWSRequest GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Associated Types

type Rs GetPipeline :: * #

ToHeaders GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Methods

toHeaders :: GetPipeline -> [Header] #

ToPath GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

ToQuery GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

NFData GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Methods

rnf :: GetPipeline -> () #

type Rep GetPipeline # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

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

Defined in Network.AWS.CodePipeline.GetPipeline

Request Lenses

gpVersion :: Lens' GetPipeline (Maybe Natural) #

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

gpName :: Lens' GetPipeline Text #

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 #

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 #

Represents the output of a GetPipeline action.

See: getPipelineResponse smart constructor.

Instances
Eq GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Data GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

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

Defined in Network.AWS.CodePipeline.GetPipeline

Show GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Generic GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Associated Types

type Rep GetPipelineResponse :: * -> * #

NFData GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

Methods

rnf :: GetPipelineResponse -> () #

type Rep GetPipelineResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipeline

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

Response Lenses

gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration) #

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

gprsMetadata :: Lens' GetPipelineResponse (Maybe PipelineMetadata) #

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

gprsResponseStatus :: Lens' GetPipelineResponse Int #

  • - | The response status code.