Values.StartTargetedSentimentDetectionJobResponseSourceStarts an asynchronous targeted sentiment detection job for a collection of documents. Use the DescribeTargetedSentimentDetectionJob operation to track the status of a job.
type nonrec t = {jobId : JobId.t option;The identifier generated for the job. To get the status of a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.
*)jobArn : ComprehendArn.t option;The Amazon Resource Name (ARN) of the targeted sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows: arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id> The following is an example job ARN: arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*)jobStatus : JobStatus.t option;The status of the job. SUBMITTED - The job has been received and is queued for processing. IN_PROGRESS - Amazon Comprehend is processing the job. COMPLETED - The job was successfully completed and the output is available. FAILED - The job did not complete. To get details, use the DescribeTargetedSentimentDetectionJob operation.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `KmsKeyValidationException of KmsKeyValidationException.t| `ResourceInUseException of ResourceInUseException.t| `TooManyRequestsException of TooManyRequestsException.t| `TooManyTagsException of TooManyTagsException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `KmsKeyValidationException of KmsKeyValidationException.t
| `ResourceInUseException of ResourceInUseException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `TooManyTagsException of TooManyTagsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `KmsKeyValidationException of KmsKeyValidationException.t
| `ResourceInUseException of ResourceInUseException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `TooManyTagsException of TooManyTagsException.t
| `Unknown_operation_error of string * string option ]