Amazon CloudWatch · Schema

GetScheduledQueryResponse

Amazon Web ServicesCloudWatchMonitoringObservabilityMetricsLogs

Properties

Name Type Description
scheduledQueryArn string The ARN of the scheduled query.
name string The name of the scheduled query.
description string The description of the scheduled query.
queryLanguage string The query language used by the scheduled query.
queryString string The query string executed by the scheduled query.
logGroupIdentifiers array The log groups queried by the scheduled query.
scheduleExpression string The cron expression that defines when the scheduled query runs.
timezone string The timezone used for evaluating the schedule expression.
startTimeOffset integer The time offset in seconds that defines the lookback period for the query.
endTimeOffset integer The time offset in seconds that defines the end of the lookback period for the query.
destinationConfiguration object
state string The current state of the scheduled query.
scheduleType string The schedule type of the scheduled query. Valid values are CUSTOMER_MANAGED and AWS_MANAGED.
lastTriggeredTime integer The timestamp when the scheduled query was last executed.
lastExecutionStatus string The status of the most recent execution of the scheduled query.
scheduleStartTime integer The start time for the scheduled query in Unix epoch format.
scheduleEndTime integer The end time for the scheduled query in Unix epoch format.
executionRoleArn string The ARN of the IAM role used to execute the query and deliver results.
creationTime integer The timestamp when the scheduled query was created.
lastUpdatedTime integer The timestamp when the scheduled query was last updated.
View JSON Schema on GitHub

JSON Schema

amazon-cloudwatch-get-scheduled-query-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-get-scheduled-query-response-schema.json",
  "title": "GetScheduledQueryResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-scheduled-query-api-openapi.yml#/components/schemas/GetScheduledQueryResponse",
  "type": "object",
  "properties": {
    "scheduledQueryArn": {
      "type": "string",
      "description": "The ARN of the scheduled query."
    },
    "name": {
      "type": "string",
      "description": "The name of the scheduled query."
    },
    "description": {
      "type": "string",
      "description": "The description of the scheduled query."
    },
    "queryLanguage": {
      "type": "string",
      "enum": [
        "CWLI",
        "SQL",
        "PPL"
      ],
      "description": "The query language used by the scheduled query."
    },
    "queryString": {
      "type": "string",
      "description": "The query string executed by the scheduled query."
    },
    "logGroupIdentifiers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The log groups queried by the scheduled query."
    },
    "scheduleExpression": {
      "type": "string",
      "description": "The cron expression that defines when the scheduled query runs."
    },
    "timezone": {
      "type": "string",
      "description": "The timezone used for evaluating the schedule expression."
    },
    "startTimeOffset": {
      "type": "integer",
      "description": "The time offset in seconds that defines the lookback period for the query."
    },
    "endTimeOffset": {
      "type": "integer",
      "description": "The time offset in seconds that defines the end of the lookback period for the query."
    },
    "destinationConfiguration": {
      "$ref": "#/$defs/DestinationConfiguration"
    },
    "state": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "The current state of the scheduled query."
    },
    "scheduleType": {
      "type": "string",
      "enum": [
        "CUSTOMER_MANAGED",
        "AWS_MANAGED"
      ],
      "description": "The schedule type of the scheduled query. Valid values are CUSTOMER_MANAGED and AWS_MANAGED."
    },
    "lastTriggeredTime": {
      "type": "integer",
      "description": "The timestamp when the scheduled query was last executed."
    },
    "lastExecutionStatus": {
      "type": "string",
      "enum": [
        "Running",
        "InvalidQuery",
        "Complete",
        "Failed",
        "Timeout"
      ],
      "description": "The status of the most recent execution of the scheduled query."
    },
    "scheduleStartTime": {
      "type": "integer",
      "description": "The start time for the scheduled query in Unix epoch format."
    },
    "scheduleEndTime": {
      "type": "integer",
      "description": "The end time for the scheduled query in Unix epoch format."
    },
    "executionRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role used to execute the query and deliver results."
    },
    "creationTime": {
      "type": "integer",
      "description": "The timestamp when the scheduled query was created."
    },
    "lastUpdatedTime": {
      "type": "integer",
      "description": "The timestamp when the scheduled query was last updated."
    }
  },
  "$defs": {
    "DestinationConfiguration": {
      "type": "object",
      "properties": {
        "s3Configuration": {
          "$ref": "#/$defs/S3Configuration"
        },
        "lookupTableConfiguration": {
          "$ref": "#/$defs/LookupTableConfiguration"
        }
      }
    },
    "LookupTableConfiguration": {
      "type": "object",
      "properties": {
        "tableName": {
          "type": "string",
          "description": "The name of the lookup table to create or update with query results. The name can contain only alphanumeric characters and underscores."
        },
        "roleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that grants permissions to create or update the lookup table with query results."
        },
        "description": {
          "type": "string",
          "description": "A description of the lookup table."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The ARN of the KMS key to use to encrypt the lookup table data. If you don't specify a key, the data is encrypted with an Amazon Web Services-owned key."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Key-value pairs to associate with the lookup table for resource management and cost allocation. The service applies tags only during initial table creation."
        }
      },
      "required": [
        "tableName",
        "roleArn"
      ]
    },
    "S3Configuration": {
      "type": "object",
      "properties": {
        "destinationIdentifier": {
          "type": "string",
          "description": "The Amazon S3 URI where query results are delivered. Must be a valid S3 URI format."
        },
        "roleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that grants permissions to write query results to the specified Amazon S3 destination."
        },
        "ownerAccountId": {
          "type": "string",
          "description": "The Amazon Web Services accountId for the bucket owning account."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS encryption key. Must belong to the same Amazon Web Services Region as the destination Amazon S3 bucket."
        }
      },
      "required": [
        "destinationIdentifier",
        "roleArn"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-cloudwatch-get-scheduled-query-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.