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 a model template.
Synopsis
- data GetModelTemplate = GetModelTemplate' {}
- newGetModelTemplate :: Text -> Text -> GetModelTemplate
- getModelTemplate_modelId :: Lens' GetModelTemplate Text
- getModelTemplate_apiId :: Lens' GetModelTemplate Text
- data GetModelTemplateResponse = GetModelTemplateResponse' {
- value :: Maybe Text
- httpStatus :: Int
- newGetModelTemplateResponse :: Int -> GetModelTemplateResponse
- getModelTemplateResponse_value :: Lens' GetModelTemplateResponse (Maybe Text)
- getModelTemplateResponse_httpStatus :: Lens' GetModelTemplateResponse Int
Creating a Request
data GetModelTemplate Source #
See: newGetModelTemplate
smart constructor.
Instances
Create a value of GetModelTemplate
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:modelId:GetModelTemplate'
, getModelTemplate_modelId
- The model ID.
$sel:apiId:GetModelTemplate'
, getModelTemplate_apiId
- The API identifier.
Request Lenses
getModelTemplate_modelId :: Lens' GetModelTemplate Text Source #
The model ID.
getModelTemplate_apiId :: Lens' GetModelTemplate Text Source #
The API identifier.
Destructuring the Response
data GetModelTemplateResponse Source #
See: newGetModelTemplateResponse
smart constructor.
GetModelTemplateResponse' | |
|
Instances
newGetModelTemplateResponse Source #
Create a value of GetModelTemplateResponse
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:value:GetModelTemplateResponse'
, getModelTemplateResponse_value
- The template value.
$sel:httpStatus:GetModelTemplateResponse'
, getModelTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getModelTemplateResponse_value :: Lens' GetModelTemplateResponse (Maybe Text) Source #
The template value.
getModelTemplateResponse_httpStatus :: Lens' GetModelTemplateResponse Int Source #
The response's http status code.