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

See: getPipelineState smart constructor.

Instances
Eq GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Data GetPipelineState # 
Instance details

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

Defined in Network.AWS.CodePipeline.GetPipelineState

Show GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Generic GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rep GetPipelineState :: * -> * #

Hashable GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToJSON GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

AWSRequest GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rs GetPipelineState :: * #

ToHeaders GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToPath GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToQuery GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

NFData GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Methods

rnf :: GetPipelineState -> () #

type Rep GetPipelineState # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

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

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

See: getPipelineStateResponse smart constructor.

Instances
Eq GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Data GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

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

Defined in Network.AWS.CodePipeline.GetPipelineState

Show GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Generic GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rep GetPipelineStateResponse :: * -> * #

NFData GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

type Rep GetPipelineStateResponse # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

type Rep GetPipelineStateResponse = D1 (MetaData "GetPipelineStateResponse" "Network.AWS.CodePipeline.GetPipelineState" "amazonka-codepipeline-1.6.0-CC2BPnoufmqE0zbjOUPBZ9" False) (C1 (MetaCons "GetPipelineStateResponse'" PrefixI True) ((S1 (MetaSel (Just "_gpsrsPipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gpsrsCreated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_gpsrsStageStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StageState])))) :*: (S1 (MetaSel (Just "_gpsrsPipelineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_gpsrsUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_gpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.