Module Smaws_Client_Comprehend.BatchDetectTargetedSentiment

Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.

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

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `BatchSizeLimitExceededException of Types.batch_size_limit_exceeded_exception | `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.batch_detect_targeted_sentiment_request -> (Types.batch_detect_targeted_sentiment_response, [> Smaws_Lib.Protocols.AwsJson.error | `BatchSizeLimitExceededException of Types.batch_size_limit_exceeded_exception | `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
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.batch_detect_targeted_sentiment_request -> (Types.batch_detect_targeted_sentiment_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `BatchSizeLimitExceededException of Types.batch_size_limit_exceeded_exception | `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 ] * Smaws_Lib.Response.metadata) Stdlib.result