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 |
Gets the definition of the specified pipeline. You can call
GetPipelineDefinition
to retrieve the pipeline definition that you
provided using PutPipelineDefinition.
Synopsis
- data GetPipelineDefinition = GetPipelineDefinition' {
- version :: Maybe Text
- pipelineId :: Text
- newGetPipelineDefinition :: Text -> GetPipelineDefinition
- getPipelineDefinition_version :: Lens' GetPipelineDefinition (Maybe Text)
- getPipelineDefinition_pipelineId :: Lens' GetPipelineDefinition Text
- data GetPipelineDefinitionResponse = GetPipelineDefinitionResponse' {}
- newGetPipelineDefinitionResponse :: Int -> GetPipelineDefinitionResponse
- getPipelineDefinitionResponse_pipelineObjects :: Lens' GetPipelineDefinitionResponse (Maybe [PipelineObject])
- getPipelineDefinitionResponse_parameterObjects :: Lens' GetPipelineDefinitionResponse (Maybe [ParameterObject])
- getPipelineDefinitionResponse_parameterValues :: Lens' GetPipelineDefinitionResponse (Maybe [ParameterValue])
- getPipelineDefinitionResponse_httpStatus :: Lens' GetPipelineDefinitionResponse Int
Creating a Request
data GetPipelineDefinition Source #
Contains the parameters for GetPipelineDefinition.
See: newGetPipelineDefinition
smart constructor.
GetPipelineDefinition' | |
|
Instances
newGetPipelineDefinition Source #
Create a value of GetPipelineDefinition
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:version:GetPipelineDefinition'
, getPipelineDefinition_version
- The version of the pipeline definition to retrieve. Set this parameter
to latest
(default) to use the last definition saved to the pipeline
or active
to use the last definition that was activated.
$sel:pipelineId:GetPipelineDefinition'
, getPipelineDefinition_pipelineId
- The ID of the pipeline.
Request Lenses
getPipelineDefinition_version :: Lens' GetPipelineDefinition (Maybe Text) Source #
The version of the pipeline definition to retrieve. Set this parameter
to latest
(default) to use the last definition saved to the pipeline
or active
to use the last definition that was activated.
getPipelineDefinition_pipelineId :: Lens' GetPipelineDefinition Text Source #
The ID of the pipeline.
Destructuring the Response
data GetPipelineDefinitionResponse Source #
Contains the output of GetPipelineDefinition.
See: newGetPipelineDefinitionResponse
smart constructor.
GetPipelineDefinitionResponse' | |
|
Instances
newGetPipelineDefinitionResponse Source #
Create a value of GetPipelineDefinitionResponse
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:pipelineObjects:GetPipelineDefinitionResponse'
, getPipelineDefinitionResponse_pipelineObjects
- The objects defined in the pipeline.
$sel:parameterObjects:GetPipelineDefinitionResponse'
, getPipelineDefinitionResponse_parameterObjects
- The parameter objects used in the pipeline definition.
$sel:parameterValues:GetPipelineDefinitionResponse'
, getPipelineDefinitionResponse_parameterValues
- The parameter values used in the pipeline definition.
$sel:httpStatus:GetPipelineDefinitionResponse'
, getPipelineDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
getPipelineDefinitionResponse_pipelineObjects :: Lens' GetPipelineDefinitionResponse (Maybe [PipelineObject]) Source #
The objects defined in the pipeline.
getPipelineDefinitionResponse_parameterObjects :: Lens' GetPipelineDefinitionResponse (Maybe [ParameterObject]) Source #
The parameter objects used in the pipeline definition.
getPipelineDefinitionResponse_parameterValues :: Lens' GetPipelineDefinitionResponse (Maybe [ParameterValue]) Source #
The parameter values used in the pipeline definition.
getPipelineDefinitionResponse_httpStatus :: Lens' GetPipelineDefinitionResponse Int Source #
The response's http status code.