Copyright | (c) 2013-2016 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 |
Network.AWS.CodePipeline.GetPipelineState
Description
Returns information about the state of a pipeline, including the stages and actions.
- getPipelineState :: Text -> GetPipelineState
- data GetPipelineState
- gpsName :: Lens' GetPipelineState Text
- getPipelineStateResponse :: Int -> GetPipelineStateResponse
- data GetPipelineStateResponse
- gpsrsPipelineName :: Lens' GetPipelineStateResponse (Maybe Text)
- gpsrsCreated :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- gpsrsStageStates :: Lens' GetPipelineStateResponse [StageState]
- gpsrsPipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural)
- gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- gpsrsResponseStatus :: Lens' GetPipelineStateResponse Int
Creating a Request
Arguments
:: Text | |
-> 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 Source #
Represents the input of a get pipeline state action.
See: getPipelineState
smart constructor.
Instances
Request Lenses
gpsName :: Lens' GetPipelineState Text Source #
The name of the pipeline about which you want to get information.
Destructuring the Response
getPipelineStateResponse Source #
Arguments
:: Int | |
-> 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 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.
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.
gpsrsResponseStatus :: Lens' GetPipelineStateResponse Int Source #
- - | The response status code.