Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateVocabularyRequest

import type { CreateVocabularyRequest } from "https://aws-api.deno.dev/v0.3/services/transcribeservice.ts?docs=full";
interface CreateVocabularyRequest {
LanguageCode: LanguageCode;
Phrases?: string[] | null;
Tags?: Tag[] | null;
VocabularyFileUri?: string | null;
VocabularyName: string;
}

§Properties

§
LanguageCode: LanguageCode
[src]

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see "table-language-matrix".

§
Phrases?: string[] | null
[src]

An array of strings that contains the vocabulary entries.

§
Tags?: Tag[] | null
[src]

Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.

§
VocabularyFileUri?: string | null
[src]

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom vocabularies.

§
VocabularyName: string
[src]

The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.