Interesting this requires ‘jq’ when JMESpath is built into AWS CLI already.
If anyone can help with a solution I'd be delighted to remove the dependency on jq.
https://github.com/bash-my-aws/bash-my-aws/blob/b74d92a902bb...
https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-o...
"For more advanced filtering that you might not be able to do with --query, you can consider jq, a command line JSON processor. You can download it and find the official tutorial at http://stedolan.github.io/jq/."