{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-cancel-query-response-schema.json",
  "title": "CancelQueryResponse",
  "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/CancelQueryResponse",
  "type": "object",
  "properties": {
    "QueryId": {
      "type": "string",
      "description": "The ID of the canceled query."
    },
    "QueryStatus": {
      "type": "string",
      "enum": [
        "QUEUED",
        "RUNNING",
        "FINISHED",
        "FAILED",
        "CANCELLED",
        "TIMED_OUT"
      ],
      "description": "Shows the status of a query after a CancelQuery request. Typically, the values shown are either RUNNING or CANCELLED."
    },
    "EventDataStoreOwnerAccountId": {
      "type": "string",
      "description": "The account ID of the event data store owner."
    }
  },
  "required": [
    "QueryId",
    "QueryStatus"
  ]
}