GetMetricDataResponse is a JSON Structure definition published by Amazon CloudWatch, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudwatch/refs/heads/main/json-structure/cloudwatch-get-metric-data-response-structure.json",
"name": "GetMetricDataResponse",
"description": "Response from the GetMetricData action",
"type": "object",
"properties": {
"metricDataResults": {
"type": "array",
"description": "The metrics that are returned",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The short name specified in the query"
},
"label": {
"type": "string",
"description": "The human-readable label for the metric"
},
"timestamps": {
"type": "array",
"description": "The timestamps for the data points",
"items": {
"type": "string",
"format": "date-time"
}
},
"values": {
"type": "array",
"description": "The data point values",
"items": {
"type": "number"
}
},
"statusCode": {
"type": "string",
"description": "The status of the returned data",
"enum": [
"Complete",
"InternalError",
"PartialData",
"Forbidden"
]
}
}
}
},
"nextToken": {
"type": "string",
"description": "Token for the next page of results"
}
}
}
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.