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 template.
Synopsis
- data GetExperimentTemplate = GetExperimentTemplate' {}
- newGetExperimentTemplate :: Text -> GetExperimentTemplate
- getExperimentTemplate_id :: Lens' GetExperimentTemplate Text
- data GetExperimentTemplateResponse = GetExperimentTemplateResponse' {}
- newGetExperimentTemplateResponse :: Int -> GetExperimentTemplateResponse
- getExperimentTemplateResponse_experimentTemplate :: Lens' GetExperimentTemplateResponse (Maybe ExperimentTemplate)
- getExperimentTemplateResponse_httpStatus :: Lens' GetExperimentTemplateResponse Int
Creating a Request
data GetExperimentTemplate Source #
See: newGetExperimentTemplate
smart constructor.
Instances
newGetExperimentTemplate Source #
Create a value of GetExperimentTemplate
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:GetExperimentTemplate'
, getExperimentTemplate_id
- The ID of the experiment template.
Request Lenses
getExperimentTemplate_id :: Lens' GetExperimentTemplate Text Source #
The ID of the experiment template.
Destructuring the Response
data GetExperimentTemplateResponse Source #
See: newGetExperimentTemplateResponse
smart constructor.
GetExperimentTemplateResponse' | |
|
Instances
newGetExperimentTemplateResponse Source #
Create a value of GetExperimentTemplateResponse
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:experimentTemplate:GetExperimentTemplateResponse'
, getExperimentTemplateResponse_experimentTemplate
- Information about the experiment template.
$sel:httpStatus:GetExperimentTemplateResponse'
, getExperimentTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getExperimentTemplateResponse_experimentTemplate :: Lens' GetExperimentTemplateResponse (Maybe ExperimentTemplate) Source #
Information about the experiment template.
getExperimentTemplateResponse_httpStatus :: Lens' GetExperimentTemplateResponse Int Source #
The response's http status code.