CmdID / aws / aws cloudtrail
aws cloudtrail list-queries
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--end-timeUse with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.--event-data-storeThe ARN (or the ID suffix of the ARN) of an event data store on which queries were run.--max-resultsThe maximum number of queries to show on a page.--next-tokenA token you can use to get the next page of results.--query-statusThe status of queries that you want to return in results.--start-timeUse with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.