idea-aws
    Preparing search index...

    Interface DetectSentimentParameters

    interface DetectSentimentParameters {
        language: string;
        text: string;
    }
    Index

    Properties

    Properties

    language: string

    The language of the input contents. You can specify any of the primary languages supported by Amazon Comprehend. All contents must be in the same language. Required. Valid Values: en | es | fr | de | it | pt | ar | hi | ja | ko | zh | zh-TW

    text: string

    The text to analyze. Required. A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.