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 |
Creates a pipeline.
Synopsis
- createPipeline :: PipelineDeclaration -> CreatePipeline
- data CreatePipeline
- cpPipeline :: Lens' CreatePipeline PipelineDeclaration
- createPipelineResponse :: Int -> CreatePipelineResponse
- data CreatePipelineResponse
- cprsPipeline :: Lens' CreatePipelineResponse (Maybe PipelineDeclaration)
- cprsResponseStatus :: Lens' CreatePipelineResponse Int
Creating a Request
Creates a value of CreatePipeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpPipeline
- Represents the structure of actions and stages to be performed in the pipeline.
data CreatePipeline Source #
Represents the input of a CreatePipeline action.
See: createPipeline
smart constructor.
Instances
Request Lenses
cpPipeline :: Lens' CreatePipeline PipelineDeclaration Source #
Represents the structure of actions and stages to be performed in the pipeline.
Destructuring the Response
createPipelineResponse Source #
Creates a value of CreatePipelineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cprsPipeline
- Represents the structure of actions and stages to be performed in the pipeline.cprsResponseStatus
- -- | The response status code.
data CreatePipelineResponse Source #
Represents the output of a CreatePipeline action.
See: createPipelineResponse
smart constructor.
Instances
Response Lenses
cprsPipeline :: Lens' CreatePipelineResponse (Maybe PipelineDeclaration) Source #
Represents the structure of actions and stages to be performed in the pipeline.
cprsResponseStatus :: Lens' CreatePipelineResponse Int Source #
- - | The response status code.