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

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