CmdID / aws / aws cloudtrail
aws cloudtrail generate-query
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--event-data-storesThe ARN (or ID suffix of the ARN) of the event data store that you want to query.--promptThe prompt that you want to use to generate the query.