| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodePipeline.GetPipelineState
Description
Returns information about the state of a pipeline, including the stages and actions.
Values returned in the revisionId and revisionUrl fields indicate
the source revision information, such as the commit ID, for the current
state.
Synopsis
- data GetPipelineState = GetPipelineState' {}
- newGetPipelineState :: Text -> GetPipelineState
- getPipelineState_name :: Lens' GetPipelineState Text
- data GetPipelineStateResponse = GetPipelineStateResponse' {
- created :: Maybe POSIX
- pipelineName :: Maybe Text
- pipelineVersion :: Maybe Natural
- stageStates :: Maybe [StageState]
- updated :: Maybe POSIX
- httpStatus :: Int
- newGetPipelineStateResponse :: Int -> GetPipelineStateResponse
- getPipelineStateResponse_created :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- getPipelineStateResponse_pipelineName :: Lens' GetPipelineStateResponse (Maybe Text)
- getPipelineStateResponse_pipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural)
- getPipelineStateResponse_stageStates :: Lens' GetPipelineStateResponse (Maybe [StageState])
- getPipelineStateResponse_updated :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- getPipelineStateResponse_httpStatus :: Lens' GetPipelineStateResponse Int
Creating a Request
data GetPipelineState Source #
Represents the input of a GetPipelineState action.
See: newGetPipelineState smart constructor.
Constructors
| GetPipelineState' | |
Instances
Arguments
| :: Text | |
| -> GetPipelineState |
Create a value of GetPipelineState with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetPipelineState, getPipelineState_name - The name of the pipeline about which you want to get information.
Request Lenses
getPipelineState_name :: Lens' GetPipelineState Text Source #
The name of the pipeline about which you want to get information.
Destructuring the Response
data GetPipelineStateResponse Source #
Represents the output of a GetPipelineState action.
See: newGetPipelineStateResponse smart constructor.
Constructors
| GetPipelineStateResponse' | |
Fields
| |
Instances
newGetPipelineStateResponse Source #
Create a value of GetPipelineStateResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetPipelineStateResponse, getPipelineStateResponse_created - The date and time the pipeline was created, in timestamp format.
GetPipelineStateResponse, getPipelineStateResponse_pipelineName - The name of the pipeline for which you want to get the state.
GetPipelineStateResponse, getPipelineStateResponse_pipelineVersion - The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1.
$sel:stageStates:GetPipelineStateResponse', getPipelineStateResponse_stageStates - A list of the pipeline stage output information, including stage name,
state, most recent run details, whether the stage is disabled, and other
data.
GetPipelineStateResponse, getPipelineStateResponse_updated - The date and time the pipeline was last updated, in timestamp format.
$sel:httpStatus:GetPipelineStateResponse', getPipelineStateResponse_httpStatus - The response's http status code.
Response Lenses
getPipelineStateResponse_created :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source #
The date and time the pipeline was created, in timestamp format.
getPipelineStateResponse_pipelineName :: Lens' GetPipelineStateResponse (Maybe Text) Source #
The name of the pipeline for which you want to get the state.
getPipelineStateResponse_pipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural) Source #
The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1.
getPipelineStateResponse_stageStates :: Lens' GetPipelineStateResponse (Maybe [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.
getPipelineStateResponse_updated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source #
The date and time the pipeline was last updated, in timestamp format.
getPipelineStateResponse_httpStatus :: Lens' GetPipelineStateResponse Int Source #
The response's http status code.