Skip to content

CheckpointDurableExecutionRequest

Source code in docs_src/capo_lambda/types/checkpoint_durable_execution_request.py
class CheckpointDurableExecutionRequest(TypedDict, closed=True):
    durable_execution_arn: "capo_lambda.types.durable_execution_arn.DurableExecutionArn"
    """<p>The Amazon Resource Name (ARN) of the durable execution.</p>"""
    checkpoint_token: "capo_lambda.types.checkpoint_token.CheckpointToken"
    """<p>A unique token that identifies the current checkpoint state. This token is provided by the Lambda runtime and must be used to ensure checkpoints are applied in the correct order. Each checkpoint operation consumes this token and returns a new one.</p>"""
    updates: NotRequired["capo_lambda.types.operation_updates.OperationUpdates"]
    """<p>An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.</p>"""
    client_token: NotRequired["capo_lambda.types.client_token.ClientToken"]
    """<p>An optional idempotency token to ensure that duplicate checkpoint requests are handled correctly. If provided, Lambda uses this token to detect and handle duplicate requests within a 15-minute window.</p>"""

checkpoint_token instance-attribute

checkpoint_token: CheckpointToken

A unique token that identifies the current checkpoint state. This token is provided by the Lambda runtime and must be used to ensure checkpoints are applied in the correct order. Each checkpoint operation consumes this token and returns a new one.

client_token instance-attribute

client_token: NotRequired[ClientToken]

An optional idempotency token to ensure that duplicate checkpoint requests are handled correctly. If provided, Lambda uses this token to detect and handle duplicate requests within a 15-minute window.

durable_execution_arn instance-attribute

durable_execution_arn: DurableExecutionArn

The Amazon Resource Name (ARN) of the durable execution.

updates instance-attribute

updates: NotRequired[OperationUpdates]

An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.