| 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 |
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.
Synopsis
- 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:
upPipeline- The name of the pipeline to be updated.
data UpdatePipeline Source #
Represents the input of an UpdatePipeline 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:
uprsPipeline- The structure of the updated pipeline.uprsResponseStatus- -- | The response status code.
data UpdatePipelineResponse Source #
Represents the output of an UpdatePipeline action.
See: updatePipelineResponse smart constructor.
Instances
Response Lenses
uprsPipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration) Source #
The structure of the updated pipeline.
uprsResponseStatus :: Lens' UpdatePipelineResponse Int Source #
- - | The response status code.