| 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.SageMaker.DeletePipeline
Description
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.
Constructors
| DeletePipeline' | |
Fields 
  | |
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:
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.
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:
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.