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::CreateVocabularyFilter - Arguments for method CreateVocabularyFilter on Paws::Transcribe

DESCRIPTION

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

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

SYNOPSIS

    my $transcribe = Paws->service('Transcribe');
    my $CreateVocabularyFilterResponse = $transcribe->CreateVocabularyFilter(
      LanguageCode            => 'af-ZA',
      VocabularyFilterName    => 'MyVocabularyFilterName',
      VocabularyFilterFileUri => 'MyUri',                    # OPTIONAL
      Words                   => [
        'MyWord', ...                                        # min: 1, max: 256
      ],    # OPTIONAL
    );

    # Results:
    my $LanguageCode     = $CreateVocabularyFilterResponse->LanguageCode;
    my $LastModifiedTime = $CreateVocabularyFilterResponse->LastModifiedTime;
    my $VocabularyFilterName =
      $CreateVocabularyFilterResponse->VocabularyFilterName;

    # Returns a L<Paws::Transcribe::CreateVocabularyFilterResponse> 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/CreateVocabularyFilter

ATTRIBUTES

REQUIRED LanguageCode => Str

The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.

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"

VocabularyFilterFileUri => Str

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

REQUIRED VocabularyFilterName => Str

The vocabulary filter name. The name must be unique within the account that contains it. If you try to create a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error.

Words => ArrayRef[Str|Undef]

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateVocabularyFilter 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