@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.36 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: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 */
24 export 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 > {}
36 export const StopSNOMEDCTInferenceJob = Binding.Service<StopSNOMEDCTInferenceJob>(
37 "AWS.ComprehendMedical.StopSNOMEDCTInferenceJob",
38 );