---
title: "POST /#X-Amz-Target=AmazonDAXV3.DescribeSubnetGroups"
method: POST
path: "/#X-Amz-Target=AmazonDAXV3.DescribeSubnetGroups"
---

# POST /#X-Amz-Target=AmazonDAXV3.DescribeSubnetGroups

`POST /#X-Amz-Target=AmazonDAXV3.DescribeSubnetGroups`

Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.

## Headers

- `X-Amz-Target` 'AmazonDAXV3.DescribeSubnetGroups', required

## Request body

- DescribeSubnetGroupsRequest
  - `SubnetGroupNames` String[] — The name of the subnet group.
  - `MaxResults` integer — <p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>
  - `NextToken` string — An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.

## Response `200`

Success

- DescribeSubnetGroupsResponse
  - `NextToken` string — Provides an identifier to allow retrieval of paginated results.
  - `SubnetGroups` SubnetGroup[] — An array of subnet groups. Each element in the array represents a single subnet group.
    - `SubnetGroupName` string — The name of the subnet group.
    - `Description` string — The description of the subnet group.
    - `VpcId` string — The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
    - `Subnets` Subnet[] — A list of subnets associated with the subnet group.
      - `SubnetIdentifier` string — The system-assigned identifier for the subnet.
      - `SubnetAvailabilityZone` string — The Availability Zone (AZ) for the subnet.

## Other responses

- `480` — SubnetGroupNotFoundFault
- `481` — ServiceLinkedRoleNotFoundFault

---

[API](https://skmtc.net/aws/apis/dax.md) · [All operations](https://skmtc.net/aws/apis/dax/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/dax/versions/ae11d18c59f6/schema)
