{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-timestream/json-schema/amazon-timestream-execute-scheduled-query-request-schema.json",
  "title": "ExecuteScheduledQueryRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-timestream-scheduled-query-api-openapi.yml#/components/schemas/ExecuteScheduledQueryRequest",
  "type": "object",
  "properties": {
    "ScheduledQueryArn": {
      "type": "string",
      "description": "ARN of the scheduled query."
    },
    "InvocationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp in UTC. Query will be run as if it was invoked at this timestamp."
    },
    "ClientToken": {
      "type": "string",
      "description": "Not used."
    },
    "QueryInsights": {
      "$ref": "#/$defs/ScheduledQueryInsights"
    }
  },
  "required": [
    "ScheduledQueryArn",
    "InvocationTime"
  ],
  "$defs": {
    "ScheduledQueryInsights": {
      "type": "object",
      "properties": {
        "Mode": {
          "type": "string",
          "enum": [
            "ENABLED_WITH_RATE_CONTROL",
            "DISABLED"
          ],
          "description": "Provides the following modes to enable ScheduledQueryInsights: ENABLED_WITH_RATE_CONTROL – Enables ScheduledQueryInsights for the queries being processed. This mode also includes a rate control mechanism, which limits the QueryInsights feature to 1 query per second (QPS). DISABLED – Disables ScheduledQueryInsights."
        }
      },
      "required": [
        "Mode"
      ]
    }
  }
}