| Copyright | (c) 2013-2016 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 |
Network.AWS.CodePipeline.UpdatePipeline
Description
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.
- updatePipeline :: PipelineDeclaration -> UpdatePipeline
- data UpdatePipeline
- upPipeline :: Lens' UpdatePipeline PipelineDeclaration
- updatePipelineResponse :: Int -> UpdatePipelineResponse
- data UpdatePipelineResponse
- uprsPipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration)
- uprsResponseStatus :: Lens' UpdatePipelineResponse Int
Creating a Request
Arguments
| :: PipelineDeclaration | |
| -> UpdatePipeline |
Creates a value of UpdatePipeline with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdatePipeline Source #
Represents the input of an update pipeline action.
See: updatePipeline smart constructor.
Instances
Request Lenses
upPipeline :: Lens' UpdatePipeline PipelineDeclaration Source #
The name of the pipeline to be updated.
Destructuring the Response
updatePipelineResponse Source #
Arguments
| :: Int | |
| -> UpdatePipelineResponse |
Creates a value of UpdatePipelineResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdatePipelineResponse Source #
Represents the output of an update pipeline action.
See: updatePipelineResponse smart constructor.
Response Lenses
uprsPipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration) Source #
The structure of the updated pipeline.
uprsResponseStatus :: Lens' UpdatePipelineResponse Int Source #
The response status code.