{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-get-otel-enrichment-output-schema.json",
  "title": "GetOTelEnrichmentOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-o-tel-enrichment-api-openapi.yml#/components/schemas/GetOTelEnrichmentOutput",
  "type": "object",
  "properties": {
    "Status": {
      "type": "string",
      "enum": [
        "Running",
        "Stopped"
      ],
      "description": "The status of OTel enrichment for the account. Valid values are Running (enrichment is enabled) and Stopped (enrichment is disabled)."
    },
    "IncludeFilters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OTelEnrichmentMetricSelector"
      },
      "description": "The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope."
    },
    "ExcludeFilters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OTelEnrichmentMetricSelector"
      },
      "description": "The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that enrichment started for the account. This parameter is omitted when enrichment is stopped."
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the enrichment configuration for the account was last stored."
    }
  },
  "required": [
    "Status"
  ],
  "$defs": {
    "OTelEnrichmentMetricSelector": {
      "type": "object",
      "properties": {
        "Namespace": {
          "type": "string",
          "description": "The namespace of the metrics to select. Namespaces are matched exactly and are case-sensitive."
        },
        "MetricNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected. A maximum of 100 metric names is allowed for each selector."
        }
      },
      "required": [
        "Namespace"
      ]
    }
  }
}