{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-describe-proxy-rule-response-schema.json",
  "title": "DescribeProxyRuleResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-proxy-rule-api-openapi.yml#/components/schemas/DescribeProxyRuleResponse",
  "type": "object",
  "properties": {
    "ProxyRule": {
      "$ref": "#/$defs/ProxyRule"
    },
    "UpdateToken": {
      "type": "string",
      "description": "A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation ag"
    }
  },
  "$defs": {
    "ProxyRule": {
      "type": "object",
      "properties": {
        "ProxyRuleName": {
          "type": "string",
          "description": "The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."
        },
        "Description": {
          "type": "string",
          "description": "A description of the proxy rule."
        },
        "Action": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "Action to take."
        },
        "Conditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProxyRuleCondition"
          },
          "description": "Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against."
        }
      }
    },
    "ProxyRuleCondition": {
      "type": "object",
      "properties": {
        "ConditionOperator": {
          "type": "string",
          "description": "Defines how to perform a match."
        },
        "ConditionKey": {
          "type": "string",
          "description": "Defines what is to be matched."
        },
        "ConditionValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifes the exact value that needs to be matched against."
        }
      }
    }
  }
}