amazonka-codepipeline-1.6.1: 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 Source #

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

Represents the input of a GetPipelineState action.

See: getPipelineState smart constructor.

Instances
Eq GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

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

Defined in Network.AWS.CodePipeline.GetPipelineState

Show GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Generic GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rep GetPipelineState :: Type -> Type #

Hashable GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToJSON GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

AWSRequest GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rs GetPipelineState :: Type #

ToHeaders GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToPath GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

ToQuery GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

NFData GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Methods

rnf :: GetPipelineState -> () #

type Rep GetPipelineState Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

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

Defined in Network.AWS.CodePipeline.GetPipelineState

Request Lenses

gpsName :: Lens' GetPipelineState Text Source #

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

Destructuring the Response

getPipelineStateResponse Source #

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

Represents the output of a GetPipelineState action.

See: getPipelineStateResponse smart constructor.

Instances
Eq GetPipelineStateResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

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

Defined in Network.AWS.CodePipeline.GetPipelineState

Show GetPipelineStateResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Generic GetPipelineStateResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

Associated Types

type Rep GetPipelineStateResponse :: Type -> Type #

NFData GetPipelineStateResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

type Rep GetPipelineStateResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.GetPipelineState

type Rep GetPipelineStateResponse = D1 (MetaData "GetPipelineStateResponse" "Network.AWS.CodePipeline.GetPipelineState" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" 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) Source #

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

gpsrsCreated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source #

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

gpsrsStageStates :: Lens' GetPipelineStateResponse [StageState] Source #

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) Source #

The version number of the pipeline.

gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source #

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