You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::TranscribeService::Types::CreateVocabularyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateVocabularyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  vocabulary_name: "VocabularyName", # required
  language_code: "en-US", # required, accepts en-US, es-US
  phrases: ["Phrase"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language code of the vocabulary entries.

Possible values:

  • en-US
  • es-US

Returns:

  • (String)

    The language code of the vocabulary entries.

#phrasesArray<String>

An array of strings that contains the vocabulary entries.

Returns:

  • (Array<String>)

    An array of strings that contains the vocabulary entries.

#vocabulary_nameString

The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.

Returns:

  • (String)

    The name of the vocabulary.