import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListLanguageModelsRequest, ListLanguageModelsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListLanguageModelsCommand}. */ export interface ListLanguageModelsCommandInput extends ListLanguageModelsRequest { } /** * @public * * The output of {@link ListLanguageModelsCommand}. */ export interface ListLanguageModelsCommandOutput extends ListLanguageModelsResponse, __MetadataBearer { } declare const ListLanguageModelsCommand_base: { new (input: ListLanguageModelsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListLanguageModelsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides a list of custom language models that match the specified criteria. If no * criteria are specified, all custom language models are returned.

*

To get detailed information about a specific custom language model, use the operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TranscribeClient, ListLanguageModelsCommand } from "@aws-sdk/client-transcribe"; // ES Modules import * // const { TranscribeClient, ListLanguageModelsCommand } = 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 = { // ListLanguageModelsRequest * StatusEquals: "IN_PROGRESS" || "FAILED" || "COMPLETED", * NameContains: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListLanguageModelsCommand(input); * const response = await client.send(command); * // { // ListLanguageModelsResponse * // NextToken: "STRING_VALUE", * // Models: [ // Models * // { // 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 ListLanguageModelsCommandInput - {@link ListLanguageModelsCommandInput} * @returns {@link ListLanguageModelsCommandOutput} * @see {@link ListLanguageModelsCommandInput} for command's `input` shape. * @see {@link ListLanguageModelsCommandOutput} 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 TranscribeServiceException} *

Base exception class for all service exceptions from Transcribe service.

* * * @public */ export declare class ListLanguageModelsCommand extends ListLanguageModelsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListLanguageModelsRequest; output: ListLanguageModelsResponse; }; sdk: { input: ListLanguageModelsCommandInput; output: ListLanguageModelsCommandOutput; }; }; }