amazonka-transcribe-2.0: Amazon Transcribe Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transcribe.DescribeLanguageModel

Description

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

Creating a Request

data DescribeLanguageModel Source #

See: newDescribeLanguageModel smart constructor.

Constructors

DescribeLanguageModel' 

Fields

  • modelName :: Text

    The name of the custom language model you want information about. Model names are case sensitive.

Instances

Instances details
ToJSON DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

ToHeaders DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

ToPath DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

ToQuery DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

AWSRequest DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Associated Types

type AWSResponse DescribeLanguageModel #

Generic DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Associated Types

type Rep DescribeLanguageModel :: Type -> Type #

Read DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Show DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

NFData DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Methods

rnf :: DescribeLanguageModel -> () #

Eq DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Hashable DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

type AWSResponse DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

type Rep DescribeLanguageModel Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

type Rep DescribeLanguageModel = D1 ('MetaData "DescribeLanguageModel" "Amazonka.Transcribe.DescribeLanguageModel" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "DescribeLanguageModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

DescribeLanguageModelResponse' 

Fields

  • languageModel :: Maybe 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Associated Types

type Rep DescribeLanguageModelResponse :: Type -> Type #

Read DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Show DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

NFData DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

Eq DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

type Rep DescribeLanguageModelResponse Source # 
Instance details

Defined in Amazonka.Transcribe.DescribeLanguageModel

type Rep DescribeLanguageModelResponse = D1 ('MetaData "DescribeLanguageModelResponse" "Amazonka.Transcribe.DescribeLanguageModel" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "DescribeLanguageModelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageModel)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.