AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract DescribeDBSubnetGroupsResponse DescribeDBSubnetGroups(
         DescribeDBSubnetGroupsRequest request
)

Parameters

request
Type: Amazon.Neptune.Model.DescribeDBSubnetGroupsRequest

Container for the necessary parameters to execute the DescribeDBSubnetGroups service method.

Return Value


The response from the DescribeDBSubnetGroups service method, as returned by Neptune.

Exceptions

ExceptionCondition
DBSubnetGroupNotFoundException DBSubnetGroupName does not refer to an existing DB subnet group.

Examples

This example lists information about the specified DB subnet group.

To list information about DB subnet groups


var response = client.DescribeDBSubnetGroups(new DescribeDBSubnetGroupsRequest 
{
    DBSubnetGroupName = "mydbsubnetgroup"
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also