amazonka-codepipeline-1.4.5: Amazon CodePipeline SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodePipeline.GetPipelineState

Contents

Description

Returns information about the state of a pipeline, including the stages and actions.

Synopsis

Creating a Request

getPipelineState #

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

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

  • gpsName - The name of the pipeline about which you want to get information.

data GetPipelineState #

Represents the input of a get pipeline state action.

See: getPipelineState smart constructor.

Instances

Eq GetPipelineState # 
Data GetPipelineState # 

Methods

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

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

toConstr :: GetPipelineState -> Constr #

dataTypeOf :: GetPipelineState -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPipelineState # 
Show GetPipelineState # 
Generic GetPipelineState # 
Hashable GetPipelineState # 
ToJSON GetPipelineState # 
NFData GetPipelineState # 

Methods

rnf :: GetPipelineState -> () #

AWSRequest GetPipelineState # 
ToQuery GetPipelineState # 
ToPath GetPipelineState # 
ToHeaders GetPipelineState # 
type Rep GetPipelineState # 
type Rep GetPipelineState = D1 (MetaData "GetPipelineState" "Network.AWS.CodePipeline.GetPipelineState" "amazonka-codepipeline-1.4.5-7l6xH8NU5nx4wRSql2Kh3c" True) (C1 (MetaCons "GetPipelineState'" PrefixI True) (S1 (MetaSel (Just Symbol "_gpsName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetPipelineState # 

Request Lenses

gpsName :: Lens' GetPipelineState Text #

The name of the pipeline about which you want to get information.

Destructuring the Response

getPipelineStateResponse #

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

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

  • gpsrsPipelineName - The name of the pipeline for which you want to get the state.
  • gpsrsCreated - The date and time the pipeline was created, in timestamp format.
  • gpsrsStageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
  • gpsrsPipelineVersion - The version number of the pipeline.
  • gpsrsUpdated - The date and time the pipeline was last updated, in timestamp format.
  • gpsrsResponseStatus - -- | The response status code.

data GetPipelineStateResponse #

Represents the output of a get pipeline state action.

See: getPipelineStateResponse smart constructor.

Instances

Eq GetPipelineStateResponse # 
Data GetPipelineStateResponse # 

Methods

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

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

toConstr :: GetPipelineStateResponse -> Constr #

dataTypeOf :: GetPipelineStateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPipelineStateResponse # 
Show GetPipelineStateResponse # 
Generic GetPipelineStateResponse # 
NFData GetPipelineStateResponse # 
type Rep GetPipelineStateResponse # 
type Rep GetPipelineStateResponse = D1 (MetaData "GetPipelineStateResponse" "Network.AWS.CodePipeline.GetPipelineState" "amazonka-codepipeline-1.4.5-7l6xH8NU5nx4wRSql2Kh3c" False) (C1 (MetaCons "GetPipelineStateResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gpsrsPipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gpsrsCreated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_gpsrsStageStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StageState]))))) ((:*:) (S1 (MetaSel (Just Symbol "_gpsrsPipelineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_gpsrsUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_gpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

gpsrsPipelineName :: Lens' GetPipelineStateResponse (Maybe Text) #

The name of the pipeline for which you want to get the state.

gpsrsCreated :: Lens' GetPipelineStateResponse (Maybe UTCTime) #

The date and time the pipeline was created, in timestamp format.

gpsrsStageStates :: Lens' GetPipelineStateResponse [StageState] #

A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

gpsrsPipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural) #

The version number of the pipeline.

gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime) #

The date and time the pipeline was last updated, in timestamp format.

gpsrsResponseStatus :: Lens' GetPipelineStateResponse Int #

  • - | The response status code.