{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-client-vpn-target-networks-result-schema.json",
  "title": "DescribeClientVpnTargetNetworksResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-client-vpn-target-network-api-openapi.yml#/components/schemas/DescribeClientVpnTargetNetworksResult",
  "type": "object",
  "properties": {
    "ClientVpnTargetNetworks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TargetNetwork"
      },
      "description": "Information about the associated target networks."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "AssociationStatus": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "associating",
            "associated",
            "association-failed",
            "disassociating",
            "disassociated"
          ],
          "description": "The state of the target network association."
        },
        "Message": {
          "type": "string",
          "description": "A message about the status of the target network association, if applicable."
        }
      }
    },
    "TargetNetwork": {
      "type": "object",
      "properties": {
        "AssociationId": {
          "type": "string",
          "description": "The ID of the association."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC in which the target network (subnet) is located."
        },
        "TargetNetworkId": {
          "type": "string",
          "description": "The ID of the subnet specified as the target network."
        },
        "ClientVpnEndpointId": {
          "type": "string",
          "description": "The ID of the Client VPN endpoint with which the target network is associated."
        },
        "Status": {
          "$ref": "#/$defs/AssociationStatus"
        },
        "SecurityGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the security groups applied to the target network association."
        },
        "AvailabilityZones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Availability Zone names for the target network association, if the Client VPN endpoint uses a Transit Gateway."
        },
        "AvailabilityZoneIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Availability Zone IDs for the target network association, if the Client VPN endpoint uses a Transit Gateway."
        }
      }
    }
  }
}