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 cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. This is applicable only when you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default.
This operation returns paginated results.
Synopsis
- data DescribeCacheSubnetGroups = DescribeCacheSubnetGroups' {}
- newDescribeCacheSubnetGroups :: DescribeCacheSubnetGroups
- describeCacheSubnetGroups_cacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text)
- describeCacheSubnetGroups_marker :: Lens' DescribeCacheSubnetGroups (Maybe Text)
- describeCacheSubnetGroups_maxRecords :: Lens' DescribeCacheSubnetGroups (Maybe Int)
- data DescribeCacheSubnetGroupsResponse = DescribeCacheSubnetGroupsResponse' {}
- newDescribeCacheSubnetGroupsResponse :: Int -> DescribeCacheSubnetGroupsResponse
- describeCacheSubnetGroupsResponse_marker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text)
- describeCacheSubnetGroupsResponse_cacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse (Maybe [CacheSubnetGroup])
- describeCacheSubnetGroupsResponse_httpStatus :: Lens' DescribeCacheSubnetGroupsResponse Int
Creating a Request
data DescribeCacheSubnetGroups Source #
Represents the input of a DescribeCacheSubnetGroups
operation.
See: newDescribeCacheSubnetGroups
smart constructor.
DescribeCacheSubnetGroups' | |
|
Instances
newDescribeCacheSubnetGroups :: DescribeCacheSubnetGroups Source #
Create a value of DescribeCacheSubnetGroups
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:cacheSubnetGroupName:DescribeCacheSubnetGroups'
, describeCacheSubnetGroups_cacheSubnetGroupName
- The name of the cache subnet group to return details for.
$sel:marker:DescribeCacheSubnetGroups'
, describeCacheSubnetGroups_marker
- An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
$sel:maxRecords:DescribeCacheSubnetGroups'
, describeCacheSubnetGroups_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a marker is
included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
Request Lenses
describeCacheSubnetGroups_cacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #
The name of the cache subnet group to return details for.
describeCacheSubnetGroups_marker :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #
An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
describeCacheSubnetGroups_maxRecords :: Lens' DescribeCacheSubnetGroups (Maybe Int) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, 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
data DescribeCacheSubnetGroupsResponse Source #
Represents the output of a DescribeCacheSubnetGroups
operation.
See: newDescribeCacheSubnetGroupsResponse
smart constructor.
DescribeCacheSubnetGroupsResponse' | |
|
Instances
newDescribeCacheSubnetGroupsResponse Source #
Create a value of DescribeCacheSubnetGroupsResponse
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:marker:DescribeCacheSubnetGroups'
, describeCacheSubnetGroupsResponse_marker
- Provides an identifier to allow retrieval of paginated results.
$sel:cacheSubnetGroups:DescribeCacheSubnetGroupsResponse'
, describeCacheSubnetGroupsResponse_cacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains
detailed information about one group.
$sel:httpStatus:DescribeCacheSubnetGroupsResponse'
, describeCacheSubnetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeCacheSubnetGroupsResponse_marker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeCacheSubnetGroupsResponse_cacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse (Maybe [CacheSubnetGroup]) Source #
A list of cache subnet groups. Each element in the list contains detailed information about one group.
describeCacheSubnetGroupsResponse_httpStatus :: Lens' DescribeCacheSubnetGroupsResponse Int Source #
The response's http status code.