StopEntitiesDetectionJob
Source:
src/AWS/Comprehend/StopEntitiesDetectionJob.ts
Runtime binding for comprehend:StopEntitiesDetectionJob — request termination
of an in-progress asynchronous entity 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).
Stopping Analysis Jobs
Section titled “Stopping Analysis Jobs”// initconst stopEntitiesDetectionJob = yield* AWS.Comprehend.StopEntitiesDetectionJob();
// runtimeconst result = yield* stopEntitiesDetectionJob({ JobId: jobId });// result.JobStatus === "STOP_REQUESTED"