Copyright | (c) 2013-2021 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 |
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.
UpdatePipeline' | |
|
Instances
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:
$sel:pipeline: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.
UpdatePipelineResponse' | |
|
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:
$sel:pipeline: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.