Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets the definition of the specified pipeline. You can call GetPipelineDefinition
to retrieve the pipeline definition that you provided using PutPipelineDefinition
.
Synopsis
- getPipelineDefinition :: Text -> GetPipelineDefinition
- data GetPipelineDefinition
- gpdVersion :: Lens' GetPipelineDefinition (Maybe Text)
- gpdPipelineId :: Lens' GetPipelineDefinition Text
- getPipelineDefinitionResponse :: Int -> GetPipelineDefinitionResponse
- data GetPipelineDefinitionResponse
- gpdrsPipelineObjects :: Lens' GetPipelineDefinitionResponse [PipelineObject]
- gpdrsParameterObjects :: Lens' GetPipelineDefinitionResponse [ParameterObject]
- gpdrsParameterValues :: Lens' GetPipelineDefinitionResponse [ParameterValue]
- gpdrsResponseStatus :: Lens' GetPipelineDefinitionResponse Int
Creating a Request
getPipelineDefinition Source #
Creates a value of GetPipelineDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpdVersion
- The version of the pipeline definition to retrieve. Set this parameter tolatest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.gpdPipelineId
- The ID of the pipeline.
data GetPipelineDefinition Source #
Contains the parameters for GetPipelineDefinition.
See: getPipelineDefinition
smart constructor.
Instances
Request Lenses
gpdVersion :: 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.
gpdPipelineId :: Lens' GetPipelineDefinition Text Source #
The ID of the pipeline.
Destructuring the Response
getPipelineDefinitionResponse Source #
Creates a value of GetPipelineDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpdrsPipelineObjects
- The objects defined in the pipeline.gpdrsParameterObjects
- The parameter objects used in the pipeline definition.gpdrsParameterValues
- The parameter values used in the pipeline definition.gpdrsResponseStatus
- -- | The response status code.
data GetPipelineDefinitionResponse Source #
Contains the output of GetPipelineDefinition.
See: getPipelineDefinitionResponse
smart constructor.
Instances
Response Lenses
gpdrsPipelineObjects :: Lens' GetPipelineDefinitionResponse [PipelineObject] Source #
The objects defined in the pipeline.
gpdrsParameterObjects :: Lens' GetPipelineDefinitionResponse [ParameterObject] Source #
The parameter objects used in the pipeline definition.
gpdrsParameterValues :: Lens' GetPipelineDefinitionResponse [ParameterValue] Source #
The parameter values used in the pipeline definition.
gpdrsResponseStatus :: Lens' GetPipelineDefinitionResponse Int Source #
- - | The response status code.