{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-describe-anomaly-detectors-input-schema.json",
  "title": "DescribeAnomalyDetectorsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-anomaly-detector-api-openapi.yml#/components/schemas/DescribeAnomalyDetectorsInput",
  "type": "object",
  "properties": {
    "AnomalyDetectorIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Specifies the unique identifiers of the anomaly detectors to describe. You can specify up to 50 identifiers. If you specify this parameter, you cannot also specify the Namespace, MetricName, Dimensions, or AnomalyDetectorTypes metric filters."
    },
    "NextToken": {
      "type": "string",
      "description": "Use the token returned by the previous operation to request the next page of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to return in one operation. The maximum value that you can specify is 100. To retrieve the remaining results, make another call with the returned NextToken value."
    },
    "Namespace": {
      "type": "string",
      "description": "Limits the results to only the anomaly detection models that are associated with the specified namespace."
    },
    "MetricName": {
      "type": "string",
      "description": "Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned."
    },
    "Dimensions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Dimension"
      },
      "description": "Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned."
    },
    "AnomalyDetectorTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "SINGLE_METRIC",
          "METRIC_MATH"
        ]
      },
      "description": "The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_METRIC."
    }
  },
  "$defs": {
    "Dimension": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names."
        },
        "Value": {
          "type": "string",
          "description": "The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values."
        }
      },
      "required": [
        "Name",
        "Value"
      ]
    }
  }
}