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, 06:00 UTC
| 1 | import type * as dataexchange from "@distilled.cloud/aws/dataexchange"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `dataexchange:CancelJob`. |
| 7 | * |
| 8 | * Cancels a job that has not yet been started (`WAITING` state). |
| 9 | * Provide the implementation with |
| 10 | * `Effect.provide(AWS.DataExchange.CancelJobHttp)`. |
| 11 | * ### Import & Export Jobs |
| 12 | * **Example:** Cancel A Waiting Job |
| 13 | * ```typescript |
| 14 | * const cancelJob = yield* AWS.DataExchange.CancelJob(); |
| 15 | * |
| 16 | * // runtime |
| 17 | * yield* cancelJob({ JobId: job.Id! }); |
| 18 | * ``` |
| 19 | * |
| 20 | * @binding |
| 21 | */ |
| 22 | export interface CancelJob extends Binding.Service< |
| 23 | CancelJob, |
| 24 | "AWS.DataExchange.CancelJob", |
| 25 | () => Effect.Effect< |
| 26 | ( |
| 27 | request: dataexchange.CancelJobRequest, |
| 28 | ) => Effect.Effect<dataexchange.CancelJobResponse, dataexchange.CancelJobError> |
| 29 | > |
| 30 | > {} |
| 31 | export const CancelJob = Binding.Service<CancelJob>("AWS.DataExchange.CancelJob"); |