Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about the state of a pipeline, including the stages, actions, and details about the last run of the pipeline.
See: AWS API Reference for GetPipelineState.
- getPipelineState :: Text -> GetPipelineState
- data GetPipelineState
- gpsName :: Lens' GetPipelineState Text
- getPipelineStateResponse :: Int -> GetPipelineStateResponse
- data GetPipelineStateResponse
- gpsrsPipelineName :: Lens' GetPipelineStateResponse (Maybe Text)
- gpsrsPipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural)
- gpsrsCreated :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- gpsrsStageStates :: Lens' GetPipelineStateResponse [StageState]
- gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- gpsrsStatus :: Lens' GetPipelineStateResponse Int
Creating a Request
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:
data GetPipelineState Source
Represents the input of a get pipeline state action.
See: getPipelineState
smart constructor.
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:
data GetPipelineStateResponse Source
Represents the output of a get pipeline state action.
See: getPipelineStateResponse
smart constructor.
Response Lenses
gpsrsPipelineName :: Lens' GetPipelineStateResponse (Maybe Text) Source
The name of the pipeline for which you want to get the state.
gpsrsPipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural) Source
The version number of the pipeline.
A newly-created pipeline is always assigned a version number of '1'.
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.
gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source
The date and time the pipeline was last updated, in timestamp format.
gpsrsStatus :: Lens' GetPipelineStateResponse Int Source
The response status code.