@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 937 Bytes
Raw
1 import type * as SVC from "@distilled.cloud/aws/databrew";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Job } from "./Job.ts";
5
6 export interface StopJobRunRequest extends Omit<SVC.StopJobRunRequest, "Name"> {}
7
8 /**
9 * Runtime binding for `databrew:StopJobRun` — cancels a run of the bound
10 * DataBrew job that is still starting or running.
11 * ### Stopping Job Runs
12 * **Example:** Stop a Job Run
13 * ```typescript
14 * const stopJobRun = yield* AWS.DataBrew.StopJobRun(job);
15 *
16 * yield* stopJobRun({ RunId: runId });
17 * ```
18 *
19 * @binding
20 */
21 export interface StopJobRun extends Binding.Service<
22 StopJobRun,
23 "AWS.DataBrew.StopJobRun",
24 <J extends Job>(
25 job: J,
26 ) => Effect.Effect<
27 (request: StopJobRunRequest) => Effect.Effect<SVC.StopJobRunResponse, SVC.StopJobRunError>
28 >
29 > {}
30 export const StopJobRun = Binding.Service<StopJobRun>("AWS.DataBrew.StopJobRun");