Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for GetPipeline.
- getPipeline :: Text -> GetPipeline
- data GetPipeline
- gpVersion :: Lens' GetPipeline (Maybe Natural)
- gpName :: Lens' GetPipeline Text
- getPipelineResponse :: Int -> GetPipelineResponse
- data GetPipelineResponse
- gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration)
- 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 get pipeline 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:
data GetPipelineResponse Source
Represents the output of a get pipeline action.
See: getPipelineResponse
smart constructor.
Response Lenses
gprsPipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration) Source
Undocumented member.
gprsResponseStatus :: Lens' GetPipelineResponse Int Source
The response status code.