{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-list-queries-request-schema.json",
  "title": "ListQueriesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudtrail-query-api-openapi.yml#/components/schemas/ListQueriesRequest",
  "type": "object",
  "properties": {
    "EventDataStore": {
      "type": "string",
      "description": "The ARN (or the ID suffix of the ARN) of an event data store on which queries were run."
    },
    "NextToken": {
      "type": "string",
      "description": "A token you can use to get the next page of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of queries to show on a page."
    },
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "Use with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period."
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "Use with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period."
    },
    "QueryStatus": {
      "type": "string",
      "enum": [
        "QUEUED",
        "RUNNING",
        "FINISHED",
        "FAILED",
        "CANCELLED",
        "TIMED_OUT"
      ],
      "description": "The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED."
    }
  },
  "required": [
    "EventDataStore"
  ]
}