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

main
ts 38 lines 1.21 KB
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 import type { SequenceStore } from "./SequenceStore.ts";
5
6 export interface ListReadSetsRequest extends Omit<omics.ListReadSetsRequest, "sequenceStoreId"> {}
7
8 /**
9 * Runtime binding for `omics:ListReadSets`.
10 *
11 * Bind this operation to a `SequenceStore` to get a callable that lists the read sets in the store — the
12 * store/workflow id is injected automatically and the action is granted on the
13 * bound resource. Provide the implementation with
14 * `Effect.provide(AWS.Omics.ListReadSetsHttp)`.
15 * ### Read Sets
16 * **Example:** Bind ListReadSets to a SequenceStore
17 * ```typescript
18 * // init
19 * const listReadSets = yield* AWS.Omics.ListReadSets(store);
20 * // runtime
21 * const result = yield* listReadSets({});
22 * ```
23 *
24 * @binding
25 */
26 export interface ListReadSets extends Binding.Service<
27 ListReadSets,
28 "AWS.Omics.ListReadSets",
29 (
30 store: SequenceStore,
31 ) => Effect.Effect<
32 (
33 request?: ListReadSetsRequest,
34 ) => Effect.Effect<omics.ListReadSetsResponse, omics.ListReadSetsError>
35 >
36 > {}
37
38 export const ListReadSets = Binding.Service<ListReadSets>("AWS.Omics.ListReadSets");