AWS CloudWatch · Schema

MetricDataResult

A GetMetricData call returns an array of MetricDataResult structures.

AlarmsAwsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
Id string The short name you specified to represent this metric.
Label string The human-readable label associated with the data.
Timestamps array The timestamps for the data points, formatted in Unix epoch time.
Values array The data points for the metric corresponding to Timestamps.
StatusCode string The status of the returned data.
Messages array A list of messages with additional information about the data returned.
View JSON Schema on GitHub

JSON Schema

cloudwatch-metric-data-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MetricDataResult",
  "type": "object",
  "description": "A GetMetricData call returns an array of MetricDataResult structures.",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The short name you specified to represent this metric."
    },
    "Label": {
      "type": "string",
      "description": "The human-readable label associated with the data."
    },
    "Timestamps": {
      "type": "array",
      "description": "The timestamps for the data points, formatted in Unix epoch time."
    },
    "Values": {
      "type": "array",
      "description": "The data points for the metric corresponding to Timestamps."
    },
    "StatusCode": {
      "type": "string",
      "description": "The status of the returned data."
    },
    "Messages": {
      "type": "array",
      "description": "A list of messages with additional information about the data returned."
    }
  }
}