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 |
Starts an existing experiment. To create an experiment, use CreateExperiment.
Synopsis
- data StartExperiment = StartExperiment' {}
- newStartExperiment :: UTCTime -> Text -> Text -> StartExperiment
- startExperiment_analysisCompleteTime :: Lens' StartExperiment UTCTime
- startExperiment_experiment :: Lens' StartExperiment Text
- startExperiment_project :: Lens' StartExperiment Text
- data StartExperimentResponse = StartExperimentResponse' {
- startedTime :: Maybe POSIX
- httpStatus :: Int
- newStartExperimentResponse :: Int -> StartExperimentResponse
- startExperimentResponse_startedTime :: Lens' StartExperimentResponse (Maybe UTCTime)
- startExperimentResponse_httpStatus :: Lens' StartExperimentResponse Int
Creating a Request
data StartExperiment Source #
See: newStartExperiment
smart constructor.
StartExperiment' | |
|
Instances
:: UTCTime | |
-> Text | |
-> Text | |
-> StartExperiment |
Create a value of StartExperiment
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:
StartExperiment
, startExperiment_analysisCompleteTime
- The date and time to end the experiment. This must be no more than 30
days after the experiment starts.
$sel:experiment:StartExperiment'
, startExperiment_experiment
- The name of the experiment to start.
StartExperiment
, startExperiment_project
- The name or ARN of the project that contains the experiment to start.
Request Lenses
startExperiment_analysisCompleteTime :: Lens' StartExperiment UTCTime Source #
The date and time to end the experiment. This must be no more than 30 days after the experiment starts.
startExperiment_experiment :: Lens' StartExperiment Text Source #
The name of the experiment to start.
startExperiment_project :: Lens' StartExperiment Text Source #
The name or ARN of the project that contains the experiment to start.
Destructuring the Response
data StartExperimentResponse Source #
See: newStartExperimentResponse
smart constructor.
StartExperimentResponse' | |
|
Instances
newStartExperimentResponse Source #
Create a value of StartExperimentResponse
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:
StartExperimentResponse
, startExperimentResponse_startedTime
- A timestamp that indicates when the experiment started.
$sel:httpStatus:StartExperimentResponse'
, startExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
startExperimentResponse_startedTime :: Lens' StartExperimentResponse (Maybe UTCTime) Source #
A timestamp that indicates when the experiment started.
startExperimentResponse_httpStatus :: Lens' StartExperimentResponse Int Source #
The response's http status code.