@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, 04:45 UTC

main
ts 30 lines 1.12 KB
Raw
1 import type * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `GetImportTask` operation (IAM action `neptune-graph:GetImportTask`).
7 *
8 * Reads one import task by id — status, progress statistics, and parsed-record counts. Task ids are server-generated runtime data. Provide the implementation with
9 * `Effect.provide(AWS.NeptuneGraph.GetImportTaskHttp)`.
10 * ### Importing and Exporting Data
11 * **Example:** Poll an import task
12 * ```typescript
13 * const getImportTask = yield* NeptuneGraph.GetImportTask();
14 *
15 * const task = yield* getImportTask({ taskIdentifier });
16 * // task.status → "SUCCEEDED"
17 * ```
18 *
19 * @binding
20 */
21 export interface GetImportTask extends Binding.Service<
22 GetImportTask,
23 "AWS.NeptuneGraph.GetImportTask",
24 () => Effect.Effect<
25 (
26 request: neptunegraph.GetImportTaskInput,
27 ) => Effect.Effect<neptunegraph.GetImportTaskOutput, neptunegraph.GetImportTaskError>
28 >
29 > {}
30 export const GetImportTask = Binding.Service<GetImportTask>("AWS.NeptuneGraph.GetImportTask");