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. * ### Running Steps * **Example:** Cancel a Step * ```typescript * const cancelSteps = yield* AWS.EMR.CancelSteps(cluster); * * const { CancelStepsInfoList } = yield* cancelSteps({ * StepIds: [stepId], * StepCancellationOption: "SEND_INTERRUPT", * }); * ``` * * @binding */ export interface CancelSteps extends Binding.Service(cluster: C) => Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const CancelSteps: CancelSteps; //# sourceMappingURL=CancelSteps.d.ts.map