import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateMedicalVocabularyRequest, CreateMedicalVocabularyResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateMedicalVocabularyCommand}. */ export interface CreateMedicalVocabularyCommandInput extends CreateMedicalVocabularyRequest { } /** * @public * * The output of {@link CreateMedicalVocabularyCommand}. */ export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocabularyResponse, __MetadataBearer { } declare const CreateMedicalVocabularyCommand_base: { new (input: CreateMedicalVocabularyCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateMedicalVocabularyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new custom medical vocabulary.

*

Before creating a new custom medical vocabulary, you must first upload a text file * that contains your vocabulary table into an Amazon S3 bucket. * Note that this differs from , where you can * include a list of terms within your request using the Phrases flag; * CreateMedicalVocabulary does not support the Phrases * flag and only accepts vocabularies in table format.

*

Each language has a character set that contains all allowed characters for that * specific language. If you use unsupported characters, your custom vocabulary request * fails. Refer to Character Sets for Custom Vocabularies to get the character set for your * language.

*

For more information, see Custom * vocabularies.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TranscribeClient, CreateMedicalVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import * // const { TranscribeClient, CreateMedicalVocabularyCommand } = 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 = { // CreateMedicalVocabularyRequest * VocabularyName: "STRING_VALUE", // required * LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "am-ET" || "cy-GB" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-MX" || "es-US" || "fa-AF" || "fa-IR" || "fr-CA" || "fr-FR" || "ga-IE" || "gd-GB" || "he-IL" || "hi-IN" || "ht-HT" || "id-ID" || "it-IT" || "ja-JP" || "jv-ID" || "km-KH" || "ko-KR" || "my-MM" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE" || "ab-GE" || "ast-ES" || "az-AZ" || "ba-RU" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ca-ES" || "ckb-IQ" || "ckb-IR" || "cs-CZ" || "cy-WL" || "el-GR" || "et-EE" || "et-ET" || "eu-ES" || "fi-FI" || "gl-ES" || "gu-IN" || "ha-NG" || "hr-HR" || "hu-HU" || "hy-AM" || "is-IS" || "ka-GE" || "kab-DZ" || "kk-KZ" || "kn-IN" || "ky-KG" || "lg-IN" || "lt-LT" || "lv-LV" || "mhr-RU" || "mi-NZ" || "mk-MK" || "ml-IN" || "mn-MN" || "mr-IN" || "mt-MT" || "no-NO" || "ne-NP" || "or-IN" || "pa-IN" || "pl-PL" || "ps-AF" || "ro-RO" || "rw-RW" || "si-LK" || "sk-SK" || "sl-SI" || "so-SO" || "sq-AL" || "sr-RS" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "tl-PH" || "tt-RU" || "ug-CN" || "uk-UA" || "uz-UZ" || "wo-SN" || "zh-HK" || "zu-ZA", // required * VocabularyFileUri: "STRING_VALUE", // required * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateMedicalVocabularyCommand(input); * const response = await client.send(command); * // { // CreateMedicalVocabularyResponse * // VocabularyName: "STRING_VALUE", * // LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "am-ET" || "cy-GB" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-MX" || "es-US" || "fa-AF" || "fa-IR" || "fr-CA" || "fr-FR" || "ga-IE" || "gd-GB" || "he-IL" || "hi-IN" || "ht-HT" || "id-ID" || "it-IT" || "ja-JP" || "jv-ID" || "km-KH" || "ko-KR" || "my-MM" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE" || "ab-GE" || "ast-ES" || "az-AZ" || "ba-RU" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ca-ES" || "ckb-IQ" || "ckb-IR" || "cs-CZ" || "cy-WL" || "el-GR" || "et-EE" || "et-ET" || "eu-ES" || "fi-FI" || "gl-ES" || "gu-IN" || "ha-NG" || "hr-HR" || "hu-HU" || "hy-AM" || "is-IS" || "ka-GE" || "kab-DZ" || "kk-KZ" || "kn-IN" || "ky-KG" || "lg-IN" || "lt-LT" || "lv-LV" || "mhr-RU" || "mi-NZ" || "mk-MK" || "ml-IN" || "mn-MN" || "mr-IN" || "mt-MT" || "no-NO" || "ne-NP" || "or-IN" || "pa-IN" || "pl-PL" || "ps-AF" || "ro-RO" || "rw-RW" || "si-LK" || "sk-SK" || "sl-SI" || "so-SO" || "sq-AL" || "sr-RS" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "tl-PH" || "tt-RU" || "ug-CN" || "uk-UA" || "uz-UZ" || "wo-SN" || "zh-HK" || "zu-ZA", * // VocabularyState: "PENDING" || "READY" || "FAILED", * // LastModifiedTime: new Date("TIMESTAMP"), * // FailureReason: "STRING_VALUE", * // }; * * ``` * * @param CreateMedicalVocabularyCommandInput - {@link CreateMedicalVocabularyCommandInput} * @returns {@link CreateMedicalVocabularyCommandOutput} * @see {@link CreateMedicalVocabularyCommandInput} for command's `input` shape. * @see {@link CreateMedicalVocabularyCommandOutput} 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 ConflictException} (client fault) *

A resource already exists with this name. Resource names must be unique within an * Amazon Web Services account.

* * @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 CreateMedicalVocabularyCommand extends CreateMedicalVocabularyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateMedicalVocabularyRequest; output: CreateMedicalVocabularyResponse; }; sdk: { input: CreateMedicalVocabularyCommandInput; output: CreateMedicalVocabularyCommandOutput; }; }; }