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 |
Deletes an Evidently experiment. The feature used for the experiment is not deleted.
To stop an experiment without deleting it, use StopExperiment.
Synopsis
- data DeleteExperiment = DeleteExperiment' {
- experiment :: Text
- project :: Text
- newDeleteExperiment :: Text -> Text -> DeleteExperiment
- deleteExperiment_experiment :: Lens' DeleteExperiment Text
- deleteExperiment_project :: Lens' DeleteExperiment Text
- data DeleteExperimentResponse = DeleteExperimentResponse' {
- httpStatus :: Int
- newDeleteExperimentResponse :: Int -> DeleteExperimentResponse
- 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:experiment:DeleteExperiment'
, deleteExperiment_experiment
- The name of the experiment to delete.
DeleteExperiment
, deleteExperiment_project
- The name or ARN of the project that contains the experiment to delete.
Request Lenses
deleteExperiment_experiment :: Lens' DeleteExperiment Text Source #
The name of the experiment to delete.
deleteExperiment_project :: Lens' DeleteExperiment Text Source #
The name or ARN of the project that contains 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:httpStatus:DeleteExperimentResponse'
, deleteExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteExperimentResponse_httpStatus :: Lens' DeleteExperimentResponse Int Source #
The response's http status code.