Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as SVC from "@distilled.cloud/aws/emr";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Cluster } from "./Cluster.ts";
/**
* Runtime binding for `elasticmapreduce:CancelSteps` — cancels pending or running steps on the bound cluster. Cancellation is asynchronous — poll {@link DescribeStep} for the final state.
* @binding
* @section Running Steps
* @example Cancel a Step
* ```typescript
* const cancelSteps = yield* AWS.EMR.CancelSteps(cluster);
*
* const { CancelStepsInfoList } = yield* cancelSteps({
* StepIds: [stepId],
* StepCancellationOption: "SEND_INTERRUPT",
* });
* ```
*/
export interface CancelSteps extends Binding.Service<
CancelSteps,
"AWS.EMR.CancelSteps",
<C extends Cluster>(
cluster: C,
) => Effect.Effect<
(
request: Omit<SVC.CancelStepsInput, "ClusterId">,
) => Effect.Effect<SVC.CancelStepsOutput, SVC.CancelStepsError>
>
> {}
export const CancelSteps = Binding.Service<CancelSteps>("AWS.EMR.CancelSteps");