@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, 06:00 UTC

main
ts 31 lines 986 Bytes
Raw
1 import * as omics from "@distilled.cloud/aws/omics";
2 import * as Binding from "alchemy/Binding";
3 import * as Effect from "effect/Effect";
4
5 export interface CancelRunRequest extends omics.CancelRunRequest {}
6
7 /**
8 * Runtime binding for `omics:CancelRun`.
9 *
10 * An account-level run-control operation (no resource argument) that cancels an in-progress run.
11 * Provide the implementation with `Effect.provide(AWS.Omics.CancelRunHttp)`.
12 * ### Runs
13 * **Example:** Call CancelRun
14 * ```typescript
15 * // init — account-level binding takes no resource
16 * const cancelRun = yield* AWS.Omics.CancelRun();
17 * // runtime
18 * const result = yield* cancelRun({ id: runId });
19 * ```
20 *
21 * @binding
22 */
23 export interface CancelRun extends Binding.Service<
24 CancelRun,
25 "AWS.Omics.CancelRun",
26 () => Effect.Effect<
27 (request?: CancelRunRequest) => Effect.Effect<omics.CancelRunResponse, omics.CancelRunError>
28 >
29 > {}
30
31 export const CancelRun = Binding.Service<CancelRun>("AWS.Omics.CancelRun");