import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLanguageModelRequest, DescribeLanguageModelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLanguageModelCommand}. */ export interface DescribeLanguageModelCommandInput extends DescribeLanguageModelRequest { } /** * @public * * The output of {@link DescribeLanguageModelCommand}. */ export interface DescribeLanguageModelCommandOutput extends DescribeLanguageModelResponse, __MetadataBearer { } declare const DescribeLanguageModelCommand_base: { new (input: DescribeLanguageModelCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeLanguageModelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TranscribeClient, DescribeLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import * // const { TranscribeClient, DescribeLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import * // import type { TranscribeClientConfig } from "@aws-sdk/client-transcribe"; * const config = {}; // type is TranscribeClientConfig * const client = new TranscribeClient(config); * const input = { // DescribeLanguageModelRequest * ModelName: "STRING_VALUE", // required * }; * const command = new DescribeLanguageModelCommand(input); * const response = await client.send(command); * // { // DescribeLanguageModelResponse * // LanguageModel: { // LanguageModel * // ModelName: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LanguageCode: "en-US" || "hi-IN" || "es-US" || "en-GB" || "en-AU" || "de-DE" || "ja-JP", * // BaseModelName: "NarrowBand" || "WideBand", * // ModelStatus: "IN_PROGRESS" || "FAILED" || "COMPLETED", * // UpgradeAvailability: true || false, * // FailureReason: "STRING_VALUE", * // InputDataConfig: { // InputDataConfig * // S3Uri: "STRING_VALUE", // required * // TuningDataS3Uri: "STRING_VALUE", * // DataAccessRoleArn: "STRING_VALUE", // required * // }, * // EncryptionConfiguration: { // EncryptionConfiguration * // KMSEncryptionContext: { // KMSEncryptionContextMap * // "": "STRING_VALUE", * // }, * // KMSKey: "STRING_VALUE", // required * // }, * // }, * // }; * * ``` * * @param DescribeLanguageModelCommandInput - {@link DescribeLanguageModelCommandInput} * @returns {@link DescribeLanguageModelCommandOutput} * @see {@link DescribeLanguageModelCommandInput} for command's `input` shape. * @see {@link DescribeLanguageModelCommandOutput} for command's `response` shape. * @see {@link TranscribeClientResolvedConfig | config} for TranscribeClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Your request didn't pass one or more validation tests. This can occur when a * parameter has an invalid value, when you combine parameters in a way that isn't * supported, when the entity you're trying to delete doesn't exist, or if it's in a * non-terminal state (such as IN PROGRESS). See the exception message field * for more information.

* * @throws {@link InternalFailureException} (server fault) *

There was an internal error. Check the error message, correct the issue, and try your * request again.

* * @throws {@link LimitExceededException} (client fault) *

You've either sent too many requests or your input file is too long. Wait before * retrying your request, or use a smaller file and try your request again.

* * @throws {@link NotFoundException} (client fault) *

We can't find the requested resource. Check that the specified name is correct and try * your request again.

* * @throws {@link TranscribeServiceException} *

Base exception class for all service exceptions from Transcribe service.

* * * @public */ export declare class DescribeLanguageModelCommand extends DescribeLanguageModelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLanguageModelRequest; output: DescribeLanguageModelResponse; }; sdk: { input: DescribeLanguageModelCommandInput; output: DescribeLanguageModelCommandOutput; }; }; }