1import * as omics from "@distilled.cloud/aws/omics";
2import * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5export interface CancelRunRequest extends omics.CancelRunRequest {}
6
7/**
8 * Runtime binding for `omics:CancelRun`.
9 *
10 * An account-level run-control operation (no resource argument) that cancels an in-progress run.
11 * Provide the implementation with `Effect.provide(AWS.Omics.CancelRunHttp)`.
12 * ### Runs
13 * **Example:** Call CancelRun
14 * ```typescript
15 * // init — account-level binding takes no resource
16 * const cancelRun = yield* AWS.Omics.CancelRun();
17 * // runtime
18 * const result = yield* cancelRun({ id: runId });
19 * ```
20 *
21 * @binding
22 */
23export interface CancelRun extends Binding.Service<
24 CancelRun,
25 "AWS.Omics.CancelRun",
26 () => Effect.Effect<
27 (
28 request?: CancelRunRequest,
29 ) => Effect.Effect<omics.CancelRunResponse, omics.CancelRunError>
30 >
31> {}
32
33export const CancelRun = Binding.Service<CancelRun>("AWS.Omics.CancelRun");