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 |
Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.
Synopsis
- data GetExperiment = GetExperiment' {
- experiment :: Text
- project :: Text
- newGetExperiment :: Text -> Text -> GetExperiment
- getExperiment_experiment :: Lens' GetExperiment Text
- getExperiment_project :: Lens' GetExperiment Text
- data GetExperimentResponse = GetExperimentResponse' {}
- newGetExperimentResponse :: Int -> GetExperimentResponse
- getExperimentResponse_experiment :: Lens' GetExperimentResponse (Maybe Experiment)
- getExperimentResponse_httpStatus :: Lens' GetExperimentResponse Int
Creating a Request
data GetExperiment Source #
See: newGetExperiment
smart constructor.
GetExperiment' | |
|
Instances
Create a value of GetExperiment
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:
GetExperiment
, getExperiment_experiment
- The name of the experiment that you want to see the details of.
GetExperiment
, getExperiment_project
- The name or ARN of the project that contains the experiment.
Request Lenses
getExperiment_experiment :: Lens' GetExperiment Text Source #
The name of the experiment that you want to see the details of.
getExperiment_project :: Lens' GetExperiment Text Source #
The name or ARN of the project that contains the experiment.
Destructuring the Response
data GetExperimentResponse Source #
See: newGetExperimentResponse
smart constructor.
GetExperimentResponse' | |
|
Instances
newGetExperimentResponse Source #
Create a value of GetExperimentResponse
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:
GetExperiment
, getExperimentResponse_experiment
- A structure containing the configuration details of the experiment.
$sel:httpStatus:GetExperimentResponse'
, getExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
getExperimentResponse_experiment :: Lens' GetExperimentResponse (Maybe Experiment) Source #
A structure containing the configuration details of the experiment.
getExperimentResponse_httpStatus :: Lens' GetExperimentResponse Int Source #
The response's http status code.