Skip to content

DescribeTargetedSentimentDetectionJob

Source: src/AWS/Comprehend/DescribeTargetedSentimentDetectionJob.ts

Runtime binding for comprehend:DescribeTargetedSentimentDetectionJob — get the properties (status, input/output config, timings) of an asynchronous targeted-sentiment detection job started with StartTargetedSentimentDetectionJob.

The binding takes no arguments and grants the action on * (job APIs have no resource-level IAM).

// init
const describeTargetedSentimentDetectionJob = yield* AWS.Comprehend.DescribeTargetedSentimentDetectionJob();
// runtime
const job = yield* describeTargetedSentimentDetectionJob({ JobId: jobId });
// job.TargetedSentimentDetectionJobProperties?.JobStatus: "SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | …