| 1 | import type * as neptunegraph from "@distilled.cloud/aws/neptune-graph"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for the `ListImportTasks` operation (IAM action `neptune-graph:ListImportTasks`). |
| 7 | * |
| 8 | * Lists the account's Neptune Analytics import tasks. Provide the implementation with |
| 9 | * `Effect.provide(AWS.NeptuneGraph.ListImportTasksHttp)`. |
| 10 | * ### Importing and Exporting Data |
| 11 | * **Example:** List import tasks |
| 12 | * ```typescript |
| 13 | * const listImportTasks = yield* NeptuneGraph.ListImportTasks(); |
| 14 | * |
| 15 | * const { tasks } = yield* listImportTasks(); |
| 16 | * ``` |
| 17 | * |
| 18 | * @binding |
| 19 | */ |
| 20 | export interface ListImportTasks extends Binding.Service< |
| 21 | ListImportTasks, |
| 22 | "AWS.NeptuneGraph.ListImportTasks", |
| 23 | () => Effect.Effect< |
| 24 | ( |
| 25 | request?: neptunegraph.ListImportTasksInput, |
| 26 | ) => Effect.Effect< |
| 27 | neptunegraph.ListImportTasksOutput, |
| 28 | neptunegraph.ListImportTasksError |
| 29 | > |
| 30 | > |
| 31 | > {} |
| 32 | export const ListImportTasks = Binding.Service<ListImportTasks>( |
| 33 | "AWS.NeptuneGraph.ListImportTasks", |
| 34 | ); |