Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- pipelineName :: Maybe Text
- created :: Maybe POSIX
- stageStates :: Maybe [StageState]
- pipelineVersion :: Maybe Natural
- updated :: Maybe POSIX
- httpStatus :: Int
- newGetPipelineStateResponse :: Int -> GetPipelineStateResponse
- getPipelineStateResponse_pipelineName :: Lens' GetPipelineStateResponse (Maybe Text)
- getPipelineStateResponse_created :: Lens' GetPipelineStateResponse (Maybe UTCTime)
- getPipelineStateResponse_stageStates :: Lens' GetPipelineStateResponse (Maybe [StageState])
- getPipelineStateResponse_pipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural)
- 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.
Instances
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:
$sel:name: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.
GetPipelineStateResponse' | |
|
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:
$sel:pipelineName:GetPipelineStateResponse'
, getPipelineStateResponse_pipelineName
- The name of the pipeline for which you want to get the state.
$sel:created:GetPipelineStateResponse'
, getPipelineStateResponse_created
- The date and time the pipeline was created, in timestamp format.
$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.
$sel:pipelineVersion:GetPipelineStateResponse'
, getPipelineStateResponse_pipelineVersion
- The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1
.
$sel:updated: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_pipelineName :: Lens' GetPipelineStateResponse (Maybe Text) Source #
The name of the pipeline for which you want to get the state.
getPipelineStateResponse_created :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source #
The date and time the pipeline was created, in timestamp format.
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_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_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.