Skip to content

DescribeSentimentDetectionJob

Source: src/AWS/Comprehend/DescribeSentimentDetectionJob.ts

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

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

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