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 |
Deletes a pipeline if there are no running instances of the pipeline. To
delete a pipeline, you must stop all running instances of the pipeline
using the StopPipelineExecution
API. When you delete a pipeline, all
instances of the pipeline are deleted.
Synopsis
- data DeletePipeline = DeletePipeline' {}
- newDeletePipeline :: Text -> Text -> DeletePipeline
- deletePipeline_pipelineName :: Lens' DeletePipeline Text
- deletePipeline_clientRequestToken :: Lens' DeletePipeline Text
- data DeletePipelineResponse = DeletePipelineResponse' {
- pipelineArn :: Maybe Text
- httpStatus :: Int
- newDeletePipelineResponse :: Int -> DeletePipelineResponse
- deletePipelineResponse_pipelineArn :: Lens' DeletePipelineResponse (Maybe Text)
- deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int
Creating a Request
data DeletePipeline Source #
See: newDeletePipeline
smart constructor.
DeletePipeline' | |
|
Instances
:: Text | |
-> 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:pipelineName:DeletePipeline'
, deletePipeline_pipelineName
- The name of the pipeline to delete.
$sel:clientRequestToken:DeletePipeline'
, deletePipeline_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time.
Request Lenses
deletePipeline_pipelineName :: Lens' DeletePipeline Text Source #
The name of the pipeline to delete.
deletePipeline_clientRequestToken :: Lens' DeletePipeline Text Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
Destructuring the Response
data DeletePipelineResponse Source #
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:pipelineArn:DeletePipelineResponse'
, deletePipelineResponse_pipelineArn
- The Amazon Resource Name (ARN) of the pipeline to delete.
$sel:httpStatus:DeletePipelineResponse'
, deletePipelineResponse_httpStatus
- The response's http status code.
Response Lenses
deletePipelineResponse_pipelineArn :: Lens' DeletePipelineResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the pipeline to delete.
deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int Source #
The response's http status code.