| 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.DeleteExperiment
Description
Deletes an SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.
Synopsis
- data DeleteExperiment = DeleteExperiment' {}
 - newDeleteExperiment :: Text -> DeleteExperiment
 - deleteExperiment_experimentName :: Lens' DeleteExperiment Text
 - data DeleteExperimentResponse = DeleteExperimentResponse' {
- experimentArn :: Maybe Text
 - httpStatus :: Int
 
 - newDeleteExperimentResponse :: Int -> DeleteExperimentResponse
 - deleteExperimentResponse_experimentArn :: Lens' DeleteExperimentResponse (Maybe Text)
 - deleteExperimentResponse_httpStatus :: Lens' DeleteExperimentResponse Int
 
Creating a Request
data DeleteExperiment Source #
See: newDeleteExperiment smart constructor.
Constructors
| DeleteExperiment' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DeleteExperiment | 
Create a value of DeleteExperiment 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:
DeleteExperiment, deleteExperiment_experimentName - The name of the experiment to delete.
Request Lenses
deleteExperiment_experimentName :: Lens' DeleteExperiment Text Source #
The name of the experiment to delete.
Destructuring the Response
data DeleteExperimentResponse Source #
See: newDeleteExperimentResponse smart constructor.
Constructors
| DeleteExperimentResponse' | |
Fields 
  | |
Instances
newDeleteExperimentResponse Source #
Create a value of DeleteExperimentResponse 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:
DeleteExperimentResponse, deleteExperimentResponse_experimentArn - The Amazon Resource Name (ARN) of the experiment that is being deleted.
$sel:httpStatus:DeleteExperimentResponse', deleteExperimentResponse_httpStatus - The response's http status code.
Response Lenses
deleteExperimentResponse_experimentArn :: Lens' DeleteExperimentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the experiment that is being deleted.
deleteExperimentResponse_httpStatus :: Lens' DeleteExperimentResponse Int Source #
The response's http status code.