amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.DescribeDBSubnetGroups

Contents

Description

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.

See: AWS API Reference for DescribeDBSubnetGroups.

This operation returns paginated results.

Synopsis

Creating a Request

describeDBSubnetGroups :: DescribeDBSubnetGroups Source

Creates a value of DescribeDBSubnetGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ddsgDBSubnetGroupName :: Lens' DescribeDBSubnetGroups (Maybe Text) Source

The name of the DB subnet group to return details for.

ddsgFilters :: Lens' DescribeDBSubnetGroups [Filter] Source

This parameter is not currently supported.

ddsgMaxRecords :: Lens' DescribeDBSubnetGroups (Maybe Int) Source

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

ddsgMarker :: Lens' DescribeDBSubnetGroups (Maybe Text) Source

An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Destructuring the Response

describeDBSubnetGroupsResponse Source

Creates a value of DescribeDBSubnetGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ddsgrsMarker :: Lens' DescribeDBSubnetGroupsResponse (Maybe Text) Source

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.