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

main
ts 31 lines 946 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 GetRunRequest extends omics.GetRunRequest {}
6
7 /**
8 * Runtime binding for `omics:GetRun`.
9 *
10 * An account-level run-control operation (no resource argument) that reads the status and details of a run.
11 * Provide the implementation with `Effect.provide(AWS.Omics.GetRunHttp)`.
12 * ### Runs
13 * **Example:** Call GetRun
14 * ```typescript
15 * // init — account-level binding takes no resource
16 * const getRun = yield* AWS.Omics.GetRun();
17 * // runtime
18 * const result = yield* getRun({ id: runId });
19 * ```
20 *
21 * @binding
22 */
23 export interface GetRun extends Binding.Service<
24 GetRun,
25 "AWS.Omics.GetRun",
26 () => Effect.Effect<
27 (request?: GetRunRequest) => Effect.Effect<omics.GetRunResponse, omics.GetRunError>
28 >
29 > {}
30
31 export const GetRun = Binding.Service<GetRun>("AWS.Omics.GetRun");