Class: Aws::TranscribeService::Types::UpdateVocabularyFilterRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-transcribeservice/types.rb

Overview

Note:

When making an API call, you may pass UpdateVocabularyFilterRequest data as a hash:

{
  vocabulary_filter_name: "VocabularyFilterName", # required
  words: ["Word"],
  vocabulary_filter_file_uri: "Uri",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#vocabulary_filter_file_uriString

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].

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.

[1]: docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets

Returns:

  • (String)

2713
2714
2715
2716
2717
2718
2719
# File 'lib/aws-sdk-transcribeservice/types.rb', line 2713

class UpdateVocabularyFilterRequest < Struct.new(
  :vocabulary_filter_name,
  :words,
  :vocabulary_filter_file_uri)
  SENSITIVE = []
  include Aws::Structure
end

#vocabulary_filter_nameString

The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as another vocabulary filter, you get a `ConflictException` error.

Returns:

  • (String)

2713
2714
2715
2716
2717
2718
2719
# File 'lib/aws-sdk-transcribeservice/types.rb', line 2713

class UpdateVocabularyFilterRequest < Struct.new(
  :vocabulary_filter_name,
  :words,
  :vocabulary_filter_file_uri)
  SENSITIVE = []
  include Aws::Structure
end

#wordsArray<String>

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].

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

[1]: docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets

Returns:

  • (Array<String>)

2713
2714
2715
2716
2717
2718
2719
# File 'lib/aws-sdk-transcribeservice/types.rb', line 2713

class UpdateVocabularyFilterRequest < Struct.new(
  :vocabulary_filter_name,
  :words,
  :vocabulary_filter_file_uri)
  SENSITIVE = []
  include Aws::Structure
end