Skip to content

RedriveExecution

Source: src/AWS/StepFunctions/RedriveExecution.ts

Runtime binding for states:RedriveExecution.

Restarts a failed, aborted, or timed-out STANDARD execution from its failure point, reusing the same input and execution ARN. IAM access is scoped to executions of the bound StateMachine. Executions that are still running (or succeeded) fail with the typed ExecutionNotRedrivable error.

const redriveExecution = yield* StepFunctions.RedriveExecution(machine);
yield* redriveExecution({ executionArn }).pipe(
Effect.catchTag("ExecutionNotRedrivable", () => Effect.void),
);