{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-core/refs/heads/main/json-schema/iot-core-create-custom-metric-response-schema.json",
"title": "CreateCustomMetricResponse",
"description": "CreateCustomMetricResponse schema",
"type": "object",
"properties": {
"metricName": {
"allOf": [
{
"$ref": "#/components/schemas/MetricName"
},
{
"description": " The name of the custom metric to be used in the metric report. "
}
]
},
"metricArn": {
"allOf": [
{
"$ref": "#/components/schemas/CustomMetricArn"
},
{
"description": " The Amazon Resource Number (ARN) of the custom metric. For example, <code>arn:<i>aws-partition</i>:iot:<i>region</i>:<i>accountId</i>:custommetric/<i>metricName</i> </code> "
}
]
}
}
}