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 a single custom language model. Use this information to see details about the language model in your Amazon Web Services account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it.
Synopsis
- data DescribeLanguageModel = DescribeLanguageModel' {}
- newDescribeLanguageModel :: Text -> DescribeLanguageModel
- describeLanguageModel_modelName :: Lens' DescribeLanguageModel Text
- data DescribeLanguageModelResponse = DescribeLanguageModelResponse' {}
- newDescribeLanguageModelResponse :: Int -> DescribeLanguageModelResponse
- describeLanguageModelResponse_languageModel :: Lens' DescribeLanguageModelResponse (Maybe LanguageModel)
- describeLanguageModelResponse_httpStatus :: Lens' DescribeLanguageModelResponse Int
Creating a Request
data DescribeLanguageModel Source #
See: newDescribeLanguageModel
smart constructor.
Instances
newDescribeLanguageModel Source #
Create a value of DescribeLanguageModel
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:modelName:DescribeLanguageModel'
, describeLanguageModel_modelName
- The name of the custom language model you submit to get more
information.
Request Lenses
describeLanguageModel_modelName :: Lens' DescribeLanguageModel Text Source #
The name of the custom language model you submit to get more information.
Destructuring the Response
data DescribeLanguageModelResponse Source #
See: newDescribeLanguageModelResponse
smart constructor.
DescribeLanguageModelResponse' | |
|
Instances
newDescribeLanguageModelResponse Source #
Create a value of DescribeLanguageModelResponse
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:languageModel:DescribeLanguageModelResponse'
, describeLanguageModelResponse_languageModel
- The name of the custom language model you requested more information
about.
$sel:httpStatus:DescribeLanguageModelResponse'
, describeLanguageModelResponse_httpStatus
- The response's http status code.
Response Lenses
describeLanguageModelResponse_languageModel :: Lens' DescribeLanguageModelResponse (Maybe LanguageModel) Source #
The name of the custom language model you requested more information about.
describeLanguageModelResponse_httpStatus :: Lens' DescribeLanguageModelResponse Int Source #
The response's http status code.