{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-update-metric-metadata-request-schema.json",
  "title": "UpdateMetricMetadataRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-metadata-api-openapi.yml#/components/schemas/UpdateMetricMetadataRequest",
  "type": "object",
  "properties": {
    "InstanceId": {
      "type": "string",
      "description": "The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance."
    },
    "MetricId": {
      "type": "string",
      "description": "The identifier of the metric to update. Adding the $SAVED qualifier will update the saved version of the metric. Adding $LATEST or omitting a qualifier will update the published version."
    },
    "Name": {
      "type": "string",
      "description": "The updated name of the metric."
    },
    "Description": {
      "type": "string",
      "description": "The updated description of the metric."
    }
  },
  "required": [
    "InstanceId",
    "MetricId"
  ]
}