AWS CloudWatch · Schema

MetricDatum

Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.

AlarmsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
MetricName string The name of the metric.
Dimensions array The dimensions associated with the metric.
Timestamp string The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
Value number The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large.
Values array Array of numbers representing the values for the metric during the period.
Counts array Array of numbers that is used along with the Values array.
StorageResolution integer Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric.
View JSON Schema on GitHub

JSON Schema

cloudwatch-metric-datum-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MetricDatum",
  "type": "object",
  "description": "Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.",
  "properties": {
    "MetricName": {
      "type": "string",
      "description": "The name of the metric."
    },
    "Dimensions": {
      "type": "array",
      "description": "The dimensions associated with the metric."
    },
    "Timestamp": {
      "type": "string",
      "description": "The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC."
    },
    "Value": {
      "type": "number",
      "description": "The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large."
    },
    "Values": {
      "type": "array",
      "description": "Array of numbers representing the values for the metric during the period."
    },
    "Counts": {
      "type": "array",
      "description": "Array of numbers that is used along with the Values array."
    },
    "StorageResolution": {
      "type": "integer",
      "description": "Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric."
    }
  }
}

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/cloudwatch-metric-datum"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.