{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-describe-subscription-filters-response-schema.json",
  "title": "DescribeSubscriptionFiltersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-subscription-filter-api-openapi.yml#/components/schemas/DescribeSubscriptionFiltersResponse",
  "type": "object",
  "properties": {
    "subscriptionFilters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubscriptionFilter"
      },
      "description": "The subscription filters."
    },
    "nextToken": {
      "type": "string"
    }
  },
  "$defs": {
    "SubscriptionFilter": {
      "type": "object",
      "properties": {
        "filterName": {
          "type": "string",
          "description": "The name of the subscription filter."
        },
        "logGroupName": {
          "type": "string",
          "description": "The name of the log group."
        },
        "filterPattern": {
          "type": "string"
        },
        "destinationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the destination."
        },
        "roleArn": {
          "type": "string"
        },
        "distribution": {
          "type": "string",
          "enum": [
            "Random",
            "ByLogStream"
          ]
        },
        "applyOnTransformedLogs": {
          "type": "boolean",
          "description": "This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer. If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events."
        },
        "creationTime": {
          "type": "integer",
          "description": "The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC."
        },
        "fieldSelectionCriteria": {
          "type": "string",
          "description": "The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the fieldSelectionCriteria value if it was specified when the subscription filter was created."
        },
        "emitSystemFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created."
        }
      }
    }
  }
}