{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-device-management/refs/heads/main/json-structure/iot-device-management-describe-custom-metric-response-structure.json", "name": "DescribeCustomMetricResponse", "description": "DescribeCustomMetricResponse schema", "type": "object", "properties": { "metricName": { "allOf": [ { "$ref": "#/components/schemas/MetricName" }, { "description": " The name of the custom metric. " } ] }, "metricArn": { "allOf": [ { "$ref": "#/components/schemas/CustomMetricArn" }, { "description": " The Amazon Resource Number (ARN) of the custom metric. " } ] }, "metricType": { "allOf": [ { "$ref": "#/components/schemas/CustomMetricType" }, { "description": "
The type of the custom metric.
The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.