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 |
Stops the specified experiment.
Synopsis
- data StopExperiment = StopExperiment' {}
- newStopExperiment :: Text -> StopExperiment
- stopExperiment_id :: Lens' StopExperiment Text
- data StopExperimentResponse = StopExperimentResponse' {}
- newStopExperimentResponse :: Int -> StopExperimentResponse
- stopExperimentResponse_experiment :: Lens' StopExperimentResponse (Maybe Experiment)
- stopExperimentResponse_httpStatus :: Lens' StopExperimentResponse Int
Creating a Request
data StopExperiment Source #
See: newStopExperiment
smart constructor.
Instances
Create a value of StopExperiment
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:id:StopExperiment'
, stopExperiment_id
- The ID of the experiment.
Request Lenses
stopExperiment_id :: Lens' StopExperiment Text Source #
The ID of the experiment.
Destructuring the Response
data StopExperimentResponse Source #
See: newStopExperimentResponse
smart constructor.
StopExperimentResponse' | |
|
Instances
newStopExperimentResponse Source #
Create a value of StopExperimentResponse
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:StopExperimentResponse'
, stopExperimentResponse_experiment
- Information about the experiment.
$sel:httpStatus:StopExperimentResponse'
, stopExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
stopExperimentResponse_experiment :: Lens' StopExperimentResponse (Maybe Experiment) Source #
Information about the experiment.
stopExperimentResponse_httpStatus :: Lens' StopExperimentResponse Int Source #
The response's http status code.