@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 38 lines 1.33 KB
Raw
1 import type * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
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 */
24 export 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 > {}
36 export const StopRxNormInferenceJob = Binding.Service<StopRxNormInferenceJob>(
37 "AWS.ComprehendMedical.StopRxNormInferenceJob",
38 );