import type * as sfn from "@distilled.cloud/aws/sfn"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { StateMachine } from "./StateMachine.ts"; export interface UpdateMapRunRequest extends sfn.UpdateMapRunInput { } /** * Runtime binding for `states:UpdateMapRun`. * * Adjusts a running Distributed Map Run's `maxConcurrency` and tolerated * failure thresholds in place. IAM access is scoped to Map Runs of the * bound {@link StateMachine}. * ### Distributed Map Runs * **Example:** Throttle a running Map Run * ```typescript * const updateMapRun = yield* StepFunctions.UpdateMapRun(machine); * * yield* updateMapRun({ mapRunArn, maxConcurrency: 10 }); * ``` * * @binding */ export interface UpdateMapRun extends Binding.Service Effect.Effect<(request: UpdateMapRunRequest) => Effect.Effect>> { } export declare const UpdateMapRun: UpdateMapRun; //# sourceMappingURL=UpdateMapRun.d.ts.map