1import type * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `comprehendmedical:StopPHIDetectionJob` — stop an in-progress asynchronous protected health information (PHI) detection job.
7 *
8 * Comprehend Medical has no resource-level IAM, so the binding takes no
9 * arguments and grants `comprehendmedical:StopPHIDetectionJob` on `*`. Provide the
10 * implementation with `Effect.provide(AWS.ComprehendMedical.StopPHIDetectionJobHttp)`.
11 *
12 * ### Batch PHI Detection Jobs
13 * **Example:** Stop a Running Job
14 * ```typescript
15 * // init
16 * const stopPHIDetectionJob = yield* AWS.ComprehendMedical.StopPHIDetectionJob();
17 *
18 * // runtime
19 * yield* stopPHIDetectionJob({ JobId: jobId });
20 * ```
21 *
22 * @binding
23 */
24export interface StopPHIDetectionJob extends Binding.Service<
25 StopPHIDetectionJob,
26 "AWS.ComprehendMedical.StopPHIDetectionJob",
27 () => Effect.Effect<
28 (
29 request: comprehendmedical.StopPHIDetectionJobRequest,
30 ) => Effect.Effect<
31 comprehendmedical.StopPHIDetectionJobResponse,
32 comprehendmedical.StopPHIDetectionJobError
33 >
34 >
35> {}
36export const StopPHIDetectionJob = Binding.Service<StopPHIDetectionJob>(
37 "AWS.ComprehendMedical.StopPHIDetectionJob",
38);