{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-memorydb/json-schema/amazon-memorydb-describe-subnet-groups-response-schema.json",
  "title": "DescribeSubnetGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-memorydb-subnet-groups-api-openapi.yml#/components/schemas/DescribeSubnetGroupsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged."
    },
    "SubnetGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubnetGroup"
      },
      "description": "A list of subnet groups. Each element in the list contains detailed information about one group."
    }
  },
  "$defs": {
    "AvailabilityZone": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the Availability Zone."
        }
      }
    },
    "Subnet": {
      "type": "object",
      "properties": {
        "Identifier": {
          "type": "string",
          "description": "The unique identifier for the subnet."
        },
        "AvailabilityZone": {
          "$ref": "#/$defs/AvailabilityZone"
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "The network types supported by this subnet. Returns an array of strings that can include 'ipv4', 'ipv6', or both, indicating whether the subnet supports IPv4 only, IPv6 only, or dual-stack deployments."
        }
      }
    },
    "SubnetGroup": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the subnet group"
        },
        "Description": {
          "type": "string",
          "description": "A description of the subnet group"
        },
        "VpcId": {
          "type": "string",
          "description": "The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group."
        },
        "Subnets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Subnet"
          },
          "description": "A list of subnets associated with the subnet group."
        },
        "ARN": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the subnet group."
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "The network types supported by this subnet group. Returns an array of strings that can include 'ipv4', 'ipv6', or both, indicating the IP address types that can be used for clusters deployed in this subnet group."
        }
      }
    }
  }
}