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 |
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 operation returns paginated results.
Synopsis
- describeCacheSubnetGroups :: DescribeCacheSubnetGroups
- data DescribeCacheSubnetGroups
- dcsgCacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text)
- dcsgMarker :: Lens' DescribeCacheSubnetGroups (Maybe Text)
- dcsgMaxRecords :: Lens' DescribeCacheSubnetGroups (Maybe Int)
- describeCacheSubnetGroupsResponse :: Int -> DescribeCacheSubnetGroupsResponse
- data DescribeCacheSubnetGroupsResponse
- dcsgrsMarker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text)
- dcsgrsCacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse [CacheSubnetGroup]
- dcsgrsResponseStatus :: Lens' DescribeCacheSubnetGroupsResponse Int
Creating a Request
describeCacheSubnetGroups :: DescribeCacheSubnetGroups Source #
Creates a value of DescribeCacheSubnetGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcsgCacheSubnetGroupName
- The name of the cache subnet group to return details for.dcsgMarker
- 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 byMaxRecords
.dcsgMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100.
data DescribeCacheSubnetGroups Source #
Represents the input of a DescribeCacheSubnetGroups
operation.
See: describeCacheSubnetGroups
smart constructor.
Instances
Request Lenses
dcsgCacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #
The name of the cache subnet group to return details for.
dcsgMarker :: 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
.
dcsgMaxRecords :: 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
describeCacheSubnetGroupsResponse Source #
Creates a value of DescribeCacheSubnetGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcsgrsMarker
- Provides an identifier to allow retrieval of paginated results.dcsgrsCacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains detailed information about one group.dcsgrsResponseStatus
- -- | The response status code.
data DescribeCacheSubnetGroupsResponse Source #
Represents the output of a DescribeCacheSubnetGroups
operation.
See: describeCacheSubnetGroupsResponse
smart constructor.
Instances
Response Lenses
dcsgrsMarker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
dcsgrsCacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse [CacheSubnetGroup] Source #
A list of cache subnet groups. Each element in the list contains detailed information about one group.
dcsgrsResponseStatus :: Lens' DescribeCacheSubnetGroupsResponse Int Source #
- - | The response status code.