DetectSentimentRequest

public struct DetectSentimentRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

    Declaration

    Swift

    public let languageCode: LanguageCode
  • A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.

    Declaration

    Swift

    public let text: String
  • Undocumented

    Declaration

    Swift

    public init(languageCode: LanguageCode, text: String)
  • Declaration

    Swift

    public func validate(name: String) throws