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 |
The DeletePipeline operation removes a pipeline.
You can only delete a pipeline that has never been used or that is not
currently in use (doesn't contain any active jobs). If the pipeline is
currently in use, DeletePipeline
returns an error.
Synopsis
- data DeletePipeline = DeletePipeline' {}
- newDeletePipeline :: Text -> DeletePipeline
- deletePipeline_id :: Lens' DeletePipeline Text
- data DeletePipelineResponse = DeletePipelineResponse' {
- httpStatus :: Int
- newDeletePipelineResponse :: Int -> DeletePipelineResponse
- deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int
Creating a Request
data DeletePipeline Source #
The DeletePipelineRequest
structure.
See: newDeletePipeline
smart constructor.
Instances
Create a value of DeletePipeline
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:id:DeletePipeline'
, deletePipeline_id
- The identifier of the pipeline that you want to delete.
Request Lenses
deletePipeline_id :: Lens' DeletePipeline Text Source #
The identifier of the pipeline that you want to delete.
Destructuring the Response
data DeletePipelineResponse Source #
The DeletePipelineResponse
structure.
See: newDeletePipelineResponse
smart constructor.
DeletePipelineResponse' | |
|
Instances
newDeletePipelineResponse Source #
Create a value of DeletePipelineResponse
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:httpStatus:DeletePipelineResponse'
, deletePipelineResponse_httpStatus
- The response's http status code.
Response Lenses
deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int Source #
The response's http status code.