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:StopSNOMEDCTInferenceJob` — stop an in-progress asynchronous SNOMED CT ontology linking job.
7 *
8 * Comprehend Medical has no resource-level IAM, so the binding takes no
9 * arguments and grants `comprehendmedical:StopSNOMEDCTInferenceJob` on `*`. Provide the
10 * implementation with `Effect.provide(AWS.ComprehendMedical.StopSNOMEDCTInferenceJobHttp)`.
11 *
12 * ### Batch SNOMED CT Inference Jobs
13 * **Example:** Stop a Running Job
14 * ```typescript
15 * // init
16 * const stopSNOMEDCTInferenceJob = yield* AWS.ComprehendMedical.StopSNOMEDCTInferenceJob();
17 *
18 * // runtime
19 * yield* stopSNOMEDCTInferenceJob({ JobId: jobId });
20 * ```
21 *
22 * @binding
23 */
24export interface StopSNOMEDCTInferenceJob extends Binding.Service<
25 StopSNOMEDCTInferenceJob,
26 "AWS.ComprehendMedical.StopSNOMEDCTInferenceJob",
27 () => Effect.Effect<
28 (
29 request: comprehendmedical.StopSNOMEDCTInferenceJobRequest,
30 ) => Effect.Effect<
31 comprehendmedical.StopSNOMEDCTInferenceJobResponse,
32 comprehendmedical.StopSNOMEDCTInferenceJobError
33 >
34 >
35> {}
36export const StopSNOMEDCTInferenceJob =
37 Binding.Service<StopSNOMEDCTInferenceJob>(
38 "AWS.ComprehendMedical.StopSNOMEDCTInferenceJob",
39 );