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

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 `GetExportTask` operation (IAM action `neptune-graph:GetExportTask`).
7 *
8 * Reads one export task by id — status, progress percentage, and exported-record counts. Task ids are server-generated runtime data. Provide the implementation with
9 * `Effect.provide(AWS.NeptuneGraph.GetExportTaskHttp)`.
10 * ### Importing and Exporting Data
11 * **Example:** Poll an export task
12 * ```typescript
13 * const getExportTask = yield* NeptuneGraph.GetExportTask();
14 *
15 * const task = yield* getExportTask({ taskIdentifier });
16 * // task.status → "SUCCEEDED"
17 * ```
18 *
19 * @binding
20 */
21 export interface GetExportTask extends Binding.Service<
22 GetExportTask,
23 "AWS.NeptuneGraph.GetExportTask",
24 () => Effect.Effect<
25 (
26 request: neptunegraph.GetExportTaskInput,
27 ) => Effect.Effect<neptunegraph.GetExportTaskOutput, neptunegraph.GetExportTaskError>
28 >
29 > {}
30 export const GetExportTask = Binding.Service<GetExportTask>("AWS.NeptuneGraph.GetExportTask");