| 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 |
Amazonka.ElasticTranscoder.DeletePipeline
Description
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.
Constructors
| DeletePipeline' | |
Instances
Arguments
| :: Text | |
| -> DeletePipeline |
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.
Constructors
| DeletePipelineResponse' | |
Fields
| |
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.