The DescribeCacheSubnetGroups operation returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
 Declaration Syntax
 Declaration Syntax| C# | 
public DescribeCacheSubnetGroupsResponse DescribeCacheSubnetGroups( DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest )
 Parameters
 Parameters- describeCacheSubnetGroupsRequest (DescribeCacheSubnetGroupsRequest)
- Container for the necessary parameters to execute the DescribeCacheSubnetGroups service method on AmazonElastiCache.
 Return Value
 Return ValueThe response from the DescribeCacheSubnetGroups service method, as returned by AmazonElastiCache.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| CacheSubnetGroupNotFoundException |