The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Transcribe::CreateVocabulary - Arguments for method CreateVocabulary on Paws::Transcribe

DESCRIPTION

This class represents the parameters used for calling the method CreateVocabulary on the Amazon Transcribe Service service. Use the attributes of this class as arguments to method CreateVocabulary.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVocabulary.

SYNOPSIS

my $transcribe = Paws->service('Transcribe');
my $CreateVocabularyResponse = $transcribe->CreateVocabulary(
  LanguageCode   => 'af-ZA',
  VocabularyName => 'MyVocabularyName',
  Phrases        => [
    'MyPhrase', ...    # max: 256
  ],    # OPTIONAL
  VocabularyFileUri => 'MyUri',    # OPTIONAL
);

# Results:
my $FailureReason    = $CreateVocabularyResponse->FailureReason;
my $LanguageCode     = $CreateVocabularyResponse->LanguageCode;
my $LastModifiedTime = $CreateVocabularyResponse->LastModifiedTime;
my $VocabularyName   = $CreateVocabularyResponse->VocabularyName;
my $VocabularyState  = $CreateVocabularyResponse->VocabularyState;

# Returns a L<Paws::Transcribe::CreateVocabularyResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/transcribe/CreateVocabulary

ATTRIBUTES

REQUIRED LanguageCode => Str

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see what-is-transcribe.

Valid values are: "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"

Phrases => ArrayRef[Str|Undef]

An array of strings that contains the vocabulary entries.

VocabularyFileUri => Str

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 (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary).

REQUIRED VocabularyName => Str

The name of the vocabulary. The name must be unique within an AWS 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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateVocabulary in Paws::Transcribe

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues