Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The Get-Execution-History API command returns detailed information about a particular execution. You can obtain specific details of this command using AWS CLI by using the --query option with JMESPath Query.

For Example:

aws stepfunctions get-execution-history --execution-arn <EXECUTION-ARN> --query 'events[*].{Name:type, Timestamp:timestamp, EventDetails:details, PreviousEventID:previousEventId}' --output table

In the above example, we are querying the events of an Execution ARN and returning Name, Timestamp, Event Details, and Previous Event ID information in a table format. You can modify the --query option as per your requirement to get the specific details you need.