Skip to content

DetectTargetedSentimentRequest

Source code in docs_src/capo_comprehend/types/detect_targeted_sentiment_request.py
class DetectTargetedSentimentRequest(TypedDict, closed=True):
    text: "capo_comprehend.types.customer_input_string.CustomerInputString"
    """<p>A UTF-8 text string. The maximum string length is 5 KB.</p>"""
    language_code: "capo_comprehend.types.language_code.LanguageCode"
    """<p>The language of the input documents. Currently, English is the only supported language.</p>"""

language_code instance-attribute

language_code: LanguageCode

The language of the input documents. Currently, English is the only supported language.

text instance-attribute

A UTF-8 text string. The maximum string length is 5 KB.