Amazon CloudWatch · Schema
GetMetricStatisticsResponse
Response from the GetMetricStatistics action
CloudWatchMonitoringObservabilityMetricsLogs
Properties
| Name | Type | Description |
|---|---|---|
| label | string | A label for the specified metric |
| datapoints | array | The data points for the specified metric |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudwatch/refs/heads/main/json-schema/cloudwatch-get-metric-statistics-response-schema.json",
"title": "GetMetricStatisticsResponse",
"description": "Response from the GetMetricStatistics action",
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A label for the specified metric"
},
"datapoints": {
"type": "array",
"description": "The data points for the specified metric",
"items": {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The time stamp for the data point"
},
"sampleCount": {
"type": "number",
"description": "The number of metric values"
},
"average": {
"type": "number",
"description": "The average of the metric values"
},
"sum": {
"type": "number",
"description": "The sum of the metric values"
},
"minimum": {
"type": "number",
"description": "The minimum metric value"
},
"maximum": {
"type": "number",
"description": "The maximum metric value"
},
"unit": {
"type": "string",
"description": "The standard unit for the data point"
}
}
}
}
}
}