| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodePipeline.UpdatePipeline
Description
Updates a specified pipeline with edits or changes to its structure. Use
a JSON file with the pipeline structure and UpdatePipeline to provide
the full structure of the pipeline. Updating the pipeline increases the
version number of the pipeline by 1.
Synopsis
- data UpdatePipeline = UpdatePipeline' {}
- newUpdatePipeline :: PipelineDeclaration -> UpdatePipeline
- updatePipeline_pipeline :: Lens' UpdatePipeline PipelineDeclaration
- data UpdatePipelineResponse = UpdatePipelineResponse' {}
- newUpdatePipelineResponse :: Int -> UpdatePipelineResponse
- updatePipelineResponse_pipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration)
- updatePipelineResponse_httpStatus :: Lens' UpdatePipelineResponse Int
Creating a Request
data UpdatePipeline Source #
Represents the input of an UpdatePipeline action.
See: newUpdatePipeline smart constructor.
Constructors
| UpdatePipeline' | |
Fields
| |
Instances
Arguments
| :: PipelineDeclaration | |
| -> UpdatePipeline |
Create a value of UpdatePipeline with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdatePipeline, updatePipeline_pipeline - The name of the pipeline to be updated.
Request Lenses
updatePipeline_pipeline :: Lens' UpdatePipeline PipelineDeclaration Source #
The name of the pipeline to be updated.
Destructuring the Response
data UpdatePipelineResponse Source #
Represents the output of an UpdatePipeline action.
See: newUpdatePipelineResponse smart constructor.
Constructors
| UpdatePipelineResponse' | |
Fields
| |
Instances
newUpdatePipelineResponse Source #
Create a value of UpdatePipelineResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdatePipeline, updatePipelineResponse_pipeline - The structure of the updated pipeline.
$sel:httpStatus:UpdatePipelineResponse', updatePipelineResponse_httpStatus - The response's http status code.
Response Lenses
updatePipelineResponse_pipeline :: Lens' UpdatePipelineResponse (Maybe PipelineDeclaration) Source #
The structure of the updated pipeline.
updatePipelineResponse_httpStatus :: Lens' UpdatePipelineResponse Int Source #
The response's http status code.