{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-update-proxy-configuration-response-schema.json",
  "title": "UpdateProxyConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-proxy-configuration-api-openapi.yml#/components/schemas/UpdateProxyConfigurationResponse",
  "type": "object",
  "properties": {
    "ProxyConfiguration": {
      "$ref": "#/$defs/ProxyConfiguration"
    },
    "UpdateToken": {
      "type": "string",
      "description": "A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your"
    }
  },
  "$defs": {
    "ProxyConfigDefaultRulePhaseActionsRequest": {
      "type": "object",
      "properties": {
        "PreDNS": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "Before domain resolution."
        },
        "PreREQUEST": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "After DNS, before request."
        },
        "PostRESPONSE": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "After receiving response."
        }
      }
    },
    "ProxyConfigRuleGroup": {
      "type": "object",
      "properties": {
        "ProxyRuleGroupName": {
          "type": "string",
          "description": "The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."
        },
        "ProxyRuleGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a proxy rule group."
        },
        "Type": {
          "type": "string",
          "description": "Proxy rule group type."
        },
        "Priority": {
          "type": "integer",
          "description": "Priority of the proxy rule group in the proxy configuration."
        }
      }
    },
    "ProxyConfiguration": {
      "type": "object",
      "properties": {
        "ProxyConfigurationName": {
          "type": "string",
          "description": "The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."
        },
        "ProxyConfigurationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a proxy configuration."
        },
        "Description": {
          "type": "string",
          "description": "A description of the proxy configuration."
        },
        "CreateTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time the Proxy Configuration was created."
        },
        "DeleteTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time the Proxy Configuration was deleted."
        },
        "RuleGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProxyConfigRuleGroup"
          },
          "description": "Proxy rule groups within the proxy configuration."
        },
        "DefaultRulePhaseActions": {
          "$ref": "#/$defs/ProxyConfigDefaultRulePhaseActionsRequest"
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The key:value pairs to associate with the resource."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive."
        },
        "Value": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}