Module Smaws_Client_Comprehend.DetectTargetedSentiment

Inspects the input text and returns a sentiment analysis for each entity identified in the text.

For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception | `UnsupportedLanguageException of Types.unsupported_language_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.detect_targeted_sentiment_request -> (Types.detect_targeted_sentiment_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception | `UnsupportedLanguageException of Types.unsupported_language_exception ]) Stdlib.result