Copyright | (c) 2013-2021 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 |
Returns a list of DBSubnetGroup
descriptions. If a DBSubnetGroupName
is specified, the list will contain only the descriptions of the
specified DBSubnetGroup
.
This operation returns paginated results.
Synopsis
- data DescribeDBSubnetGroups = DescribeDBSubnetGroups' {}
- newDescribeDBSubnetGroups :: DescribeDBSubnetGroups
- describeDBSubnetGroups_dbSubnetGroupName :: Lens' DescribeDBSubnetGroups (Maybe Text)
- describeDBSubnetGroups_filters :: Lens' DescribeDBSubnetGroups (Maybe [Filter])
- describeDBSubnetGroups_marker :: Lens' DescribeDBSubnetGroups (Maybe Text)
- describeDBSubnetGroups_maxRecords :: Lens' DescribeDBSubnetGroups (Maybe Int)
- data DescribeDBSubnetGroupsResponse = DescribeDBSubnetGroupsResponse' {
- dbSubnetGroups :: Maybe [DBSubnetGroup]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeDBSubnetGroupsResponse :: Int -> DescribeDBSubnetGroupsResponse
- describeDBSubnetGroupsResponse_dbSubnetGroups :: Lens' DescribeDBSubnetGroupsResponse (Maybe [DBSubnetGroup])
- describeDBSubnetGroupsResponse_marker :: Lens' DescribeDBSubnetGroupsResponse (Maybe Text)
- describeDBSubnetGroupsResponse_httpStatus :: Lens' DescribeDBSubnetGroupsResponse Int
Creating a Request
data DescribeDBSubnetGroups Source #
Represents the input to DescribeDBSubnetGroups.
See: newDescribeDBSubnetGroups
smart constructor.
DescribeDBSubnetGroups' | |
|
Instances
newDescribeDBSubnetGroups :: DescribeDBSubnetGroups Source #
Create a value of DescribeDBSubnetGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbSubnetGroupName:DescribeDBSubnetGroups'
, describeDBSubnetGroups_dbSubnetGroupName
- The name of the subnet group to return details for.
$sel:filters:DescribeDBSubnetGroups'
, describeDBSubnetGroups_filters
- This parameter is not currently supported.
$sel:marker:DescribeDBSubnetGroups'
, describeDBSubnetGroups_marker
- 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
.
$sel:maxRecords:DescribeDBSubnetGroups'
, describeDBSubnetGroups_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeDBSubnetGroups_dbSubnetGroupName :: Lens' DescribeDBSubnetGroups (Maybe Text) Source #
The name of the subnet group to return details for.
describeDBSubnetGroups_filters :: Lens' DescribeDBSubnetGroups (Maybe [Filter]) Source #
This parameter is not currently supported.
describeDBSubnetGroups_marker :: Lens' DescribeDBSubnetGroups (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
.
describeDBSubnetGroups_maxRecords :: 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
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeDBSubnetGroupsResponse Source #
Represents the output of DescribeDBSubnetGroups.
See: newDescribeDBSubnetGroupsResponse
smart constructor.
DescribeDBSubnetGroupsResponse' | |
|
Instances
newDescribeDBSubnetGroupsResponse Source #
Create a value of DescribeDBSubnetGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbSubnetGroups:DescribeDBSubnetGroupsResponse'
, describeDBSubnetGroupsResponse_dbSubnetGroups
- Detailed information about one or more subnet groups.
$sel:marker:DescribeDBSubnetGroups'
, describeDBSubnetGroupsResponse_marker
- 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
.
$sel:httpStatus:DescribeDBSubnetGroupsResponse'
, describeDBSubnetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeDBSubnetGroupsResponse_dbSubnetGroups :: Lens' DescribeDBSubnetGroupsResponse (Maybe [DBSubnetGroup]) Source #
Detailed information about one or more subnet groups.
describeDBSubnetGroupsResponse_marker :: 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
.
describeDBSubnetGroupsResponse_httpStatus :: Lens' DescribeDBSubnetGroupsResponse Int Source #
The response's http status code.