| 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 `CancelExportTask` operation (IAM action `neptune-graph:CancelExportTask`). |
| 7 | * |
| 8 | * Cancels a running export task by id. Provide the implementation with |
| 9 | * `Effect.provide(AWS.NeptuneGraph.CancelExportTaskHttp)`. |
| 10 | * ### Importing and Exporting Data |
| 11 | * **Example:** Cancel an export |
| 12 | * ```typescript |
| 13 | * const cancelExport = yield* NeptuneGraph.CancelExportTask(); |
| 14 | * |
| 15 | * yield* cancelExport({ taskIdentifier }); |
| 16 | * ``` |
| 17 | * |
| 18 | * @binding |
| 19 | */ |
| 20 | export interface CancelExportTask extends Binding.Service< |
| 21 | CancelExportTask, |
| 22 | "AWS.NeptuneGraph.CancelExportTask", |
| 23 | () => Effect.Effect< |
| 24 | ( |
| 25 | request: neptunegraph.CancelExportTaskInput, |
| 26 | ) => Effect.Effect< |
| 27 | neptunegraph.CancelExportTaskOutput, |
| 28 | neptunegraph.CancelExportTaskError |
| 29 | > |
| 30 | > |
| 31 | > {} |
| 32 | export const CancelExportTask = Binding.Service<CancelExportTask>( |
| 33 | "AWS.NeptuneGraph.CancelExportTask", |
| 34 | ); |