Values.BatchDetectTargetedSentimentResponseSourceInspects 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.
type nonrec t = {resultList : ListOfDetectTargetedSentimentResult.t option;A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
*)errorList : BatchItemErrorList.t option;List of errors that the operation can return.
*)}type nonrec error = [ | `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t| `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `TextSizeLimitExceededException of TextSizeLimitExceededException.t| `UnsupportedLanguageException of UnsupportedLanguageException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t
| `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t
| `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Integer of Integer.t
| `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Float of Float_.t ])
list ])
list ])
list ]
list ])
list ]
list
| `String of String_.t ])
list ]
list ])
list ]