How to write a query using AWS CLI (terminal) for step functions to get all Failed executions from past 3 days & store the result in csv file?
This command is returning all failed records since 3 months but i need only from past 3 days
aws stepfunctions list-executions --state-machine-arn "ARN" --status-filter "FAILED" --region "eu-west-1"