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 |
Provides information about the specified custom language model.
This operation also shows if the base language model that you 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 you tried to create a new custom language model and the request
wasn't successful, you can use DescribeLanguageModel
to help identify
the reason for this failure.
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:
DescribeLanguageModel
, describeLanguageModel_modelName
- The name of the custom language model you want information about. Model
names are case sensitive.
Request Lenses
describeLanguageModel_modelName :: Lens' DescribeLanguageModel Text Source #
The name of the custom language model you want information about. Model names are case sensitive.
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
- Provides information about the specified custom language model.
This parameter also shows if the base language model you 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 you tried to create a new custom language model and the request
wasn't successful, you can use this DescribeLanguageModel
to help
identify the reason for this failure.
$sel:httpStatus:DescribeLanguageModelResponse'
, describeLanguageModelResponse_httpStatus
- The response's http status code.
Response Lenses
describeLanguageModelResponse_languageModel :: Lens' DescribeLanguageModelResponse (Maybe LanguageModel) Source #
Provides information about the specified custom language model.
This parameter also shows if the base language model you 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 you tried to create a new custom language model and the request
wasn't successful, you can use this DescribeLanguageModel
to help
identify the reason for this failure.
describeLanguageModelResponse_httpStatus :: Lens' DescribeLanguageModelResponse Int Source #
The response's http status code.