UpdateVocabularyRequest

public struct UpdateVocabularyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The language code of the vocabulary entries.

    Declaration

    Swift

    public let languageCode: LanguageCode
  • An array of strings containing the vocabulary entries.

    Declaration

    Swift

    public let phrases: [String]?
  • 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 example: For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom Vocabularies.

    Declaration

    Swift

    public let vocabularyFileUri: String?
  • The name of the vocabulary to update. The name is case sensitive. If you try to update a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

    Declaration

    Swift

    public let vocabularyName: String
  • Undocumented

    Declaration

    Swift

    public init(languageCode: LanguageCode, phrases: [String]? = nil, vocabularyFileUri: String? = nil, vocabularyName: String)
  • Declaration

    Swift

    public func validate(name: String) throws