Module Values.StartTargetedSentimentDetectionJobResponseSource

Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the DescribeTargetedSentimentDetectionJob operation to track the status of a job.

Sourcetype nonrec t = {
  1. jobId : JobId.t option;
    (*

    The identifier generated for the job. To get the status of a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.

    *)
  2. 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

    *)
  3. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `KmsKeyValidationException of KmsKeyValidationException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `TooManyTagsException of TooManyTagsException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?jobId:??? -> ?jobArn:??? -> ?jobStatus:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of JobId.t ]) 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