{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-update-proxy-response-schema.json",
  "title": "UpdateProxyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-proxy-api-openapi.yml#/components/schemas/UpdateProxyResponse",
  "type": "object",
  "properties": {
    "Proxy": {
      "$ref": "#/$defs/Proxy"
    },
    "UpdateToken": {
      "type": "string",
      "description": "A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."
    }
  },
  "$defs": {
    "ListenerProperty": {
      "type": "object",
      "properties": {
        "Port": {
          "type": "integer",
          "description": "Port for processing traffic."
        },
        "Type": {
          "type": "string",
          "enum": [
            "HTTP",
            "HTTPS"
          ],
          "description": "Selection of HTTP or HTTPS traffic."
        }
      }
    },
    "Proxy": {
      "type": "object",
      "properties": {
        "CreateTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time the Proxy was created."
        },
        "DeleteTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time the Proxy was deleted."
        },
        "UpdateTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time the Proxy was updated."
        },
        "FailureCode": {
          "type": "string",
          "description": "Failure code for cases when the Proxy fails to attach or update."
        },
        "FailureMessage": {
          "type": "string",
          "description": "Failure message for cases when the Proxy fails to attach or update."
        },
        "ProxyState": {
          "type": "string",
          "enum": [
            "ATTACHING",
            "ATTACHED",
            "DETACHING",
            "DETACHED",
            "ATTACH_FAILED",
            "DETACH_FAILED"
          ],
          "description": "Current attachment/detachment status of the Proxy."
        },
        "ProxyModifyState": {
          "type": "string",
          "enum": [
            "MODIFYING",
            "COMPLETED",
            "FAILED"
          ],
          "description": "Current modification status of the Proxy."
        },
        "NatGatewayId": {
          "type": "string",
          "description": "The NAT Gateway for the proxy."
        },
        "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."
        },
        "ProxyName": {
          "type": "string",
          "description": "The descriptive name of the proxy. You can't change the name of a proxy after you create it."
        },
        "ProxyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a proxy."
        },
        "ListenerProperties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ListenerProperty"
          },
          "description": "Listener properties for HTTP and HTTPS traffic."
        },
        "TlsInterceptProperties": {
          "$ref": "#/$defs/TlsInterceptProperties"
        },
        "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"
      ]
    },
    "TlsInterceptProperties": {
      "type": "object",
      "properties": {
        "PcaArn": {
          "type": "string",
          "description": "Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication."
        },
        "TlsInterceptMode": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Specifies whether to enable or disable TLS Intercept Mode."
        }
      }
    }
  }
}