feat: paginate step functions executions

This commit is contained in:
Zakaria
2026-09-27 23:35:21 -04:00
parent 0aef7fb2d8
commit cede01969e
5 changed files with 564 additions and 15 deletions
+9
View File
@@ -48,6 +48,15 @@ changes to `StateMachineName` or `StateMachineType` use replacement semantics.
## Execution history events
## Execution pagination
`ListExecutions` and `GetExecutionHistory` support `maxResults` from 0 to 1000, with AWS's
default page size of 100. Both return opaque `nextToken` values bound to the request arguments
and valid for 24 hours. `ListExecutions` is newest first, ordered by start date and then execution
ARN. The same-millisecond tie-break is covered by focused unit tests; the live acceptance suite
does not force identical execution timestamps. `GetExecutionHistory` is ascending by event ID by
default and supports `reverseOrder`.
`GetExecutionHistory` emits an event family around a Task state's `TaskStateEntered` and
`TaskStateExited` pair. Which family depends on the resource type.