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