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