Copyright | (c) 2013-2017 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 |
Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline
.
- getPipeline :: Text -> GetPipeline
- data GetPipeline
- gpVersion :: Lens' GetPipeline (Maybe Natural)
- gpName :: Lens' GetPipeline Text
- getPipelineResponse :: Int -> GetPipelineResponse
- data GetPipelineResponse
- gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration)
- gprsMetadata :: Lens' GetPipelineResponse (Maybe PipelineMetadata)
- gprsResponseStatus :: Lens' GetPipelineResponse Int
Creating a Request
:: Text | |
-> GetPipeline |
Creates a value of GetPipeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetPipeline Source #
Represents the input of a GetPipeline action.
See: getPipeline
smart constructor.
Request Lenses
gpVersion :: Lens' GetPipeline (Maybe Natural) Source #
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
gpName :: Lens' GetPipeline Text Source #
The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
Destructuring the Response
Creates a value of GetPipelineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gprsPipeline
- Represents the structure of actions and stages to be performed in the pipeline.gprsMetadata
- Represents the pipeline metadata information returned as part of the output of a GetPipeline action.gprsResponseStatus
- -- | The response status code.
data GetPipelineResponse Source #
Represents the output of a GetPipeline action.
See: getPipelineResponse
smart constructor.
Response Lenses
gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration) Source #
Represents the structure of actions and stages to be performed in the pipeline.
gprsMetadata :: Lens' GetPipelineResponse (Maybe PipelineMetadata) Source #
Represents the pipeline metadata information returned as part of the output of a GetPipeline action.
gprsResponseStatus :: Lens' GetPipelineResponse Int Source #
- - | The response status code.