Skip to content

BuildExecutionTimelineParams

Defined in: src/execution.ts:1155

Parameters for buildExecutionTimeline.

definition?: AslDefinition;

Defined in: src/execution.ts:1161

The ASL the execution ran, used to resolve each entry’s nodeId to the id the renderer stamps as data-state-id. Omit it and the state’s own name is used, which is the same id for every definition whose state names are unique.


events: ExecutionHistoryEvent[];

Defined in: src/execution.ts:1163

Ordered execution history events (from GetExecutionHistory).


includePayloads?: boolean;

Defined in: src/execution.ts:1169

Capture each run’s input, output and failure cause onto its entry, each cut to EXECUTION_PAYLOAD_CAP. Off by default: payloads are the most sensitive content a history carries, so nothing embeds them unless asked.


redact?: RedactCallback;

Defined in: src/execution.ts:1175

Decide what each captured payload carries. Called once per payload with the capped text; return it to keep it, another string to substitute, or undefined to record '[redacted]'. Only reached when includePayloads is on.