Module Values.BatchDetectTargetedSentimentResponseSource

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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. errorList : BatchItemErrorList.t option;
    (*

    List of errors that the operation can return.

    *)
}
Sourcetype nonrec error = [
  1. | `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `TextSizeLimitExceededException of TextSizeLimitExceededException.t
  5. | `UnsupportedLanguageException of UnsupportedLanguageException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resultList:??? -> ?errorList:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t