durable-execution-sdk-js.durableexecutioninvocationinput.md

December 2, 2025 ยท View on GitHub

Home > @aws/durable-execution-sdk-js > DurableExecutionInvocationInput

DurableExecutionInvocationInput interface

Input structure for durable execution invocations.

This interface defines the payload structure that the durable execution service provides to durable functions. It contains all the necessary information for the Durable Execution Language SDK to: - Manage checkpointing and state persistence - Replay completed operations from previous state

The input is automatically provided by the durable execution service and contains both execution metadata and the operation history for replay.

Signature:

export interface DurableExecutionInvocationInput

Properties

Property

Modifiers

Type

Description

CheckpointToken

string

Unique token for the next checkpoint in this execution.

This token: - Ensures checkpoint operations are idempotent - Prevents duplicate checkpoints - Validates that checkpoint requests belong to the current execution cycle

DurableExecutionArn

string

Amazon Resource Name (ARN) that uniquely identifies this durable execution instance.

InitialExecutionState

{ Operations: Operation[]; NextMarker: string; }

Execution state including operation history and pagination information.

Contains the full context needed to resume execution including: - All previously completed operations with their results - Execution metadata and step identifiers - Pagination markers for long operation histories