| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.RDS.DescribeDBSubnetGroups
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 .
This operation returns paginated results.
Synopsis
- describeDBSubnetGroups :: DescribeDBSubnetGroups
- data DescribeDBSubnetGroups
- ddsgDBSubnetGroupName :: Lens' DescribeDBSubnetGroups (Maybe Text)
- ddsgFilters :: Lens' DescribeDBSubnetGroups [Filter]
- ddsgMarker :: Lens' DescribeDBSubnetGroups (Maybe Text)
- ddsgMaxRecords :: Lens' DescribeDBSubnetGroups (Maybe Int)
- describeDBSubnetGroupsResponse :: Int -> DescribeDBSubnetGroupsResponse
- data DescribeDBSubnetGroupsResponse
- ddsgrsDBSubnetGroups :: Lens' DescribeDBSubnetGroupsResponse [DBSubnetGroup]
- ddsgrsMarker :: Lens' DescribeDBSubnetGroupsResponse (Maybe Text)
- ddsgrsResponseStatus :: Lens' DescribeDBSubnetGroupsResponse Int
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:
ddsgDBSubnetGroupName- The name of the DB subnet group to return details for.ddsgFilters- This parameter is not currently supported.ddsgMarker- 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 byMaxRecords.ddsgMaxRecords- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecordsvalue, 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.
data DescribeDBSubnetGroups Source #
See: describeDBSubnetGroups smart constructor.
Instances
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.
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 .
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.
Destructuring the Response
describeDBSubnetGroupsResponse Source #
Arguments
| :: Int | |
| -> DescribeDBSubnetGroupsResponse |
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:
ddsgrsDBSubnetGroups- A list ofDBSubnetGroupinstances.ddsgrsMarker- 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 byMaxRecords.ddsgrsResponseStatus- -- | The response status code.
data DescribeDBSubnetGroupsResponse Source #
Contains the result of a successful invocation of the DescribeDBSubnetGroups action.
See: describeDBSubnetGroupsResponse smart constructor.
Instances
Response Lenses
ddsgrsDBSubnetGroups :: Lens' DescribeDBSubnetGroupsResponse [DBSubnetGroup] Source #
A list of DBSubnetGroup instances.
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 .
ddsgrsResponseStatus :: Lens' DescribeDBSubnetGroupsResponse Int Source #
- - | The response status code.