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 |
Gets information about the specified experiment.
Synopsis
- data GetExperiment = GetExperiment' {}
- newGetExperiment :: Text -> GetExperiment
- getExperiment_id :: 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.
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:
$sel:id:GetExperiment'
, getExperiment_id
- The ID of the experiment.
Request Lenses
getExperiment_id :: Lens' GetExperiment Text Source #
The ID of 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:
$sel:experiment:GetExperimentResponse'
, getExperimentResponse_experiment
- Information about the experiment.
$sel:httpStatus:GetExperimentResponse'
, getExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
getExperimentResponse_experiment :: Lens' GetExperimentResponse (Maybe Experiment) Source #
Information about the experiment.
getExperimentResponse_httpStatus :: Lens' GetExperimentResponse Int Source #
The response's http status code.