CreateVocabularyFilterRequest

public struct CreateVocabularyFilterRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let languageCode: LanguageCode
  • 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.

    Declaration

    Swift

    public let vocabularyFilterFileUri: String?
  • 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.

    Declaration

    Swift

    public let vocabularyFilterName: 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.

    Declaration

    Swift

    public let words: [String]?
  • Undocumented

    Declaration

    Swift

    public init(languageCode: LanguageCode, vocabularyFilterFileUri: String? = nil, vocabularyFilterName: String, words: [String]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws