Amazon IoT Device Management · JSON Structure

Iot Device Management Create Custom Metric Response Structure

CreateCustomMetricResponse schema

Type: object Properties: 2
Device ManagementFleet ManagementIoTOTA Updates

CreateCustomMetricResponse is a JSON Structure definition published by Amazon IoT Device Management, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

metricName metricArn

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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-create-custom-metric-response-structure.json",
  "name": "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> "
        }
      ]
    }
  }
}