AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
For an overview of CIDR ranges, go to the Wikipedia Tutorial.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeDBSubnetGroupsAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract DescribeDBSubnetGroupsResponse DescribeDBSubnetGroups( DescribeDBSubnetGroupsRequest request )
Container for the necessary parameters to execute the DescribeDBSubnetGroups service method.
Exception | Condition |
---|---|
DBSubnetGroupNotFoundException | DBSubnetGroupName does not refer to an existing DB subnet group. |
This example lists information about the specified DB subnet group.
var response = client.DescribeDBSubnetGroups(new DescribeDBSubnetGroupsRequest { DBSubnetGroupName = "mydbsubnetgroup" });
.NET Framework:
Supported in: 4.5 and newer, 3.5