class Aws::TranscribeService::Types::CreateVocabularyRequest
@note When making an API call, you may pass CreateVocabularyRequest
data as a hash: { vocabulary_name: "VocabularyName", # required language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, 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-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, 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 phrases: ["Phrase"], vocabulary_file_uri: "Uri", tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], }
@!attribute [rw] vocabulary_name
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. @return [String]
@!attribute [rw] language_code
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis. @return [String]
@!attribute [rw] phrases
An array of strings that contains the vocabulary entries. @return [Array<String>]
@!attribute [rw] vocabulary_file_uri
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: For more information about S3 object names, see [Object Keys][1] in the *Amazon S3 Developer Guide*. For more information about custom vocabularies, see [Custom vocabularies][2]. [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary @return [String]
@!attribute [rw] tags
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. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
Constants
- SENSITIVE