detectSentiment
inline suspend fun ComprehendClient.detectSentiment(crossinline block: DetectSentimentRequest.Builder.() -> Unit): DetectSentimentResponse
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
).