You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add pause from a retry decision, as in the JavaScript, Python, Go and Rust SDKs.
What to add
An optional pause field on the retry decision. When the step retries and pause is true, the SDK pauses the execution.
A pauseEvery option on the retry strategy helper. It sets pause when attempt % pauseEvery == 0. It keeps the configured jitter.
The order: save the RETRY checkpoint, call PauseDurableExecution, then end the invocation.
The ClientToken for the pause call includes the execution ARN, the step id and the attempt.
If the pause call fails, the step retries as usual and the SDK logs a warning.
The local test runner can pause and resume an execution.
Docs on the permissions: lambda:PauseDurableExecution for the function role, and kms:Decrypt when a customer managed key protects the execution.
Why
Customers ask how to redrive a failed execution from where it failed. With this feature, a step pauses instead of failing. The customer fixes the cause, then calls ResumeDurableExecution. The execution continues from the paused step.
Activity