Skip to content

StopKeyPhrasesDetectionJob

Source: src/AWS/Comprehend/StopKeyPhrasesDetectionJob.ts

Runtime binding for comprehend:StopKeyPhrasesDetectionJob — request termination of an in-progress asynchronous key-phrase detection job. The job moves to STOP_REQUESTED and then STOPPED; documents already processed are written to the output location.

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

// init
const stopKeyPhrasesDetectionJob = yield* AWS.Comprehend.StopKeyPhrasesDetectionJob();
// runtime
const result = yield* stopKeyPhrasesDetectionJob({ JobId: jobId });
// result.JobStatus === "STOP_REQUESTED"