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 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.
DeleteExperiment' | |
|
Instances
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:
$sel:experimentName: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.
DeleteExperimentResponse' | |
|
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:
$sel:experimentArn: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.