| 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 |
Amazonka.FIS.GetExperiment
Description
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.
Constructors
| GetExperiment' | |
Instances
Arguments
| :: Text | |
| -> GetExperiment |
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_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.
Constructors
| GetExperimentResponse' | |
Fields
| |
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.