| 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.GetPipelineExecution
Description
Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution ID, and the name, version, and status of the pipeline.
Synopsis
- data GetPipelineExecution = GetPipelineExecution' {}
- newGetPipelineExecution :: Text -> Text -> GetPipelineExecution
- getPipelineExecution_pipelineName :: Lens' GetPipelineExecution Text
- getPipelineExecution_pipelineExecutionId :: Lens' GetPipelineExecution Text
- data GetPipelineExecutionResponse = GetPipelineExecutionResponse' {}
- newGetPipelineExecutionResponse :: Int -> GetPipelineExecutionResponse
- getPipelineExecutionResponse_pipelineExecution :: Lens' GetPipelineExecutionResponse (Maybe PipelineExecution)
- getPipelineExecutionResponse_httpStatus :: Lens' GetPipelineExecutionResponse Int
Creating a Request
data GetPipelineExecution Source #
Represents the input of a GetPipelineExecution action.
See: newGetPipelineExecution smart constructor.
Constructors
| GetPipelineExecution' | |
Fields
| |
Instances
newGetPipelineExecution Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetPipelineExecution |
Create a value of GetPipelineExecution 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:
GetPipelineExecution, getPipelineExecution_pipelineName - The name of the pipeline about which you want to get execution details.
GetPipelineExecution, getPipelineExecution_pipelineExecutionId - The ID of the pipeline execution about which you want to get execution
details.
Request Lenses
getPipelineExecution_pipelineName :: Lens' GetPipelineExecution Text Source #
The name of the pipeline about which you want to get execution details.
getPipelineExecution_pipelineExecutionId :: Lens' GetPipelineExecution Text Source #
The ID of the pipeline execution about which you want to get execution details.
Destructuring the Response
data GetPipelineExecutionResponse Source #
Represents the output of a GetPipelineExecution action.
See: newGetPipelineExecutionResponse smart constructor.
Constructors
| GetPipelineExecutionResponse' | |
Fields
| |
Instances
newGetPipelineExecutionResponse Source #
Create a value of GetPipelineExecutionResponse 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:pipelineExecution:GetPipelineExecutionResponse', getPipelineExecutionResponse_pipelineExecution - Represents information about the execution of a pipeline.
$sel:httpStatus:GetPipelineExecutionResponse', getPipelineExecutionResponse_httpStatus - The response's http status code.
Response Lenses
getPipelineExecutionResponse_pipelineExecution :: Lens' GetPipelineExecutionResponse (Maybe PipelineExecution) Source #
Represents information about the execution of a pipeline.
getPipelineExecutionResponse_httpStatus :: Lens' GetPipelineExecutionResponse Int Source #
The response's http status code.