{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-get-log-anomaly-detector-response-schema.json",
  "title": "GetLogAnomalyDetectorResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-log-anomaly-detector-api-openapi.yml#/components/schemas/GetLogAnomalyDetectorResponse",
  "type": "object",
  "properties": {
    "detectorName": {
      "type": "string",
      "description": "The name of the log anomaly detector"
    },
    "logGroupArnList": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector."
    },
    "evaluationFrequency": {
      "type": "string",
      "enum": [
        "ONE_MIN",
        "FIVE_MIN",
        "TEN_MIN",
        "FIFTEEN_MIN",
        "THIRTY_MIN",
        "ONE_HOUR"
      ],
      "description": "Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate."
    },
    "filterPattern": {
      "type": "string"
    },
    "anomalyDetectorStatus": {
      "type": "string",
      "enum": [
        "INITIALIZING",
        "TRAINING",
        "ANALYZING",
        "FAILED",
        "DELETED",
        "PAUSED"
      ],
      "description": "Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation."
    },
    "kmsKeyId": {
      "type": "string",
      "description": "The ARN of the KMS key assigned to this anomaly detector, if any."
    },
    "creationTimeStamp": {
      "type": "integer",
      "description": "The date and time when this anomaly detector was created."
    },
    "lastModifiedTimeStamp": {
      "type": "integer",
      "description": "The date and time when this anomaly detector was most recently modified."
    },
    "anomalyVisibilityTime": {
      "type": "integer",
      "description": "The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal."
    }
  }
}