Amazon IoT Core · Schema
CreateCustomMetricRequest
Amazon Web ServicesDevice ManagementIoTMQTTMessage Routing
Properties
| Name | Type | Description |
|---|---|---|
| metricName | string | The name of the custom metric. This will be used in the metric report submitted from the device/thing. The name can't begin with aws:. You can't change the name after you define it. |
| displayName | string | The friendly name in the console for the custom metric. This name doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. You can update the friendly name |
| metricType | string | The type of the custom metric. The type number only takes a single metric value as an input, but when you submit the metrics value in the DeviceMetrics report, you must pass it as an array with a sing |
| tags | array | Metadata that can be used to manage the custom metric. |
| clientRequestToken | string | Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-create-custom-metric-request-schema.json",
"title": "CreateCustomMetricRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-iot-core-custom-metric-api-openapi.yml#/components/schemas/CreateCustomMetricRequest",
"type": "object",
"properties": {
"metricName": {
"type": "string",
"description": "The name of the custom metric. This will be used in the metric report submitted from the device/thing. The name can't begin with aws:. You can't change the name after you define it."
},
"displayName": {
"type": "string",
"description": "The friendly name in the console for the custom metric. This name doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. You can update the friendly name after you define it."
},
"metricType": {
"type": "string",
"enum": [
"string-list",
"ip-address-list",
"number-list",
"number"
],
"description": "The type of the custom metric. The type number only takes a single metric value as an input, but when you submit the metrics value in the DeviceMetrics report, you must pass it as an array with a single value."
},
"tags": {
"type": "array",
"items": {
"$ref": "#/$defs/Tag"
},
"description": "Metadata that can be used to manage the custom metric."
},
"clientRequestToken": {
"type": "string",
"description": "Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request."
}
},
"required": [
"metricName",
"metricType",
"clientRequestToken"
],
"$defs": {
"Tag": {
"type": "object",
"properties": {
"Key": {
"type": "string",
"description": "The tag's key."
},
"Value": {
"type": "string",
"description": "The tag's value."
}
},
"required": [
"Key"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iot-core-create-custom-metric-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.