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 |
Starts running an experiment from the specified experiment template.
Synopsis
- data StartExperiment = StartExperiment' {
- tags :: Maybe (HashMap Text Text)
- clientToken :: Text
- experimentTemplateId :: Text
- newStartExperiment :: Text -> Text -> StartExperiment
- startExperiment_tags :: Lens' StartExperiment (Maybe (HashMap Text Text))
- startExperiment_clientToken :: Lens' StartExperiment Text
- startExperiment_experimentTemplateId :: Lens' StartExperiment Text
- data StartExperimentResponse = StartExperimentResponse' {}
- newStartExperimentResponse :: Int -> StartExperimentResponse
- startExperimentResponse_experiment :: Lens' StartExperimentResponse (Maybe Experiment)
- startExperimentResponse_httpStatus :: Lens' StartExperimentResponse Int
Creating a Request
data StartExperiment Source #
See: newStartExperiment
smart constructor.
StartExperiment' | |
|
Instances
:: 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:
$sel:tags:StartExperiment'
, startExperiment_tags
- The tags to apply to the experiment.
$sel:clientToken:StartExperiment'
, startExperiment_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:experimentTemplateId:StartExperiment'
, startExperiment_experimentTemplateId
- The ID of the experiment template.
Request Lenses
startExperiment_tags :: Lens' StartExperiment (Maybe (HashMap Text Text)) Source #
The tags to apply to the experiment.
startExperiment_clientToken :: Lens' StartExperiment Text Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
startExperiment_experimentTemplateId :: Lens' StartExperiment Text Source #
The ID of the experiment template.
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:
$sel:experiment:StartExperimentResponse'
, startExperimentResponse_experiment
- Information about the experiment.
$sel:httpStatus:StartExperimentResponse'
, startExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
startExperimentResponse_experiment :: Lens' StartExperimentResponse (Maybe Experiment) Source #
Information about the experiment.
startExperimentResponse_httpStatus :: Lens' StartExperimentResponse Int Source #
The response's http status code.