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

main
ts 43 lines 1.35 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 GetReadSetImportJobRequest extends Omit<
7 omics.GetReadSetImportJobRequest,
8 "sequenceStoreId"
9 > {}
10
11 /**
12 * Runtime binding for `omics:GetReadSetImportJob`.
13 *
14 * Bind this operation to a `SequenceStore` to get a callable that reads the status of a read-set import job — 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.GetReadSetImportJobHttp)`.
18 * ### Read Sets
19 * **Example:** Bind GetReadSetImportJob to a SequenceStore
20 * ```typescript
21 * // init
22 * const getReadSetImportJob = yield* AWS.Omics.GetReadSetImportJob(store);
23 * // runtime
24 * const result = yield* getReadSetImportJob({});
25 * ```
26 *
27 * @binding
28 */
29 export interface GetReadSetImportJob extends Binding.Service<
30 GetReadSetImportJob,
31 "AWS.Omics.GetReadSetImportJob",
32 (
33 store: SequenceStore,
34 ) => Effect.Effect<
35 (
36 request?: GetReadSetImportJobRequest,
37 ) => Effect.Effect<omics.GetReadSetImportJobResponse, omics.GetReadSetImportJobError>
38 >
39 > {}
40
41 export const GetReadSetImportJob = Binding.Service<GetReadSetImportJob>(
42 "AWS.Omics.GetReadSetImportJob",
43 );