AWSComprehendDetectSentimentRequest

Objective-C

@interface AWSComprehendDetectSentimentRequest

Swift

class AWSComprehendDetectSentimentRequest
  • 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

    Objective-C

    @property (nonatomic) AWSComprehendLanguageCode languageCode;

    Swift

    var languageCode: AWSComprehendLanguageCode { get set }
  • A UTF-8 text string. The maximum string size is 5 KB.

    Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable text;

    Swift

    var text: String? { get set }