Skip to content

StopPHIDetectionJob

Source: src/AWS/ComprehendMedical/StopPHIDetectionJob.ts

Runtime binding for comprehendmedical:StopPHIDetectionJob — stop an in-progress asynchronous protected health information (PHI) detection job.

Comprehend Medical has no resource-level IAM, so the binding takes no arguments and grants comprehendmedical:StopPHIDetectionJob on *. Provide the implementation with Effect.provide(AWS.ComprehendMedical.StopPHIDetectionJobHttp).

// init
const stopPHIDetectionJob = yield* AWS.ComprehendMedical.StopPHIDetectionJob();
// runtime
yield* stopPHIDetectionJob({ JobId: jobId });