| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElastiCache.DescribeCacheSecurityGroups
Description
The DescribeCacheSecurityGroups action returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
This operation returns paginated results.
- describeCacheSecurityGroups :: DescribeCacheSecurityGroups
- data DescribeCacheSecurityGroups
- dcsgsCacheSecurityGroupName :: Lens' DescribeCacheSecurityGroups (Maybe Text)
- dcsgsMarker :: Lens' DescribeCacheSecurityGroups (Maybe Text)
- dcsgsMaxRecords :: Lens' DescribeCacheSecurityGroups (Maybe Int)
- describeCacheSecurityGroupsResponse :: Int -> DescribeCacheSecurityGroupsResponse
- data DescribeCacheSecurityGroupsResponse
- dcsgsrsCacheSecurityGroups :: Lens' DescribeCacheSecurityGroupsResponse [CacheSecurityGroup]
- dcsgsrsMarker :: Lens' DescribeCacheSecurityGroupsResponse (Maybe Text)
- dcsgsrsResponseStatus :: Lens' DescribeCacheSecurityGroupsResponse Int
Creating a Request
describeCacheSecurityGroups :: DescribeCacheSecurityGroups Source #
Creates a value of DescribeCacheSecurityGroups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCacheSecurityGroups Source #
Represents the input of a DescribeCacheSecurityGroups action.
See: describeCacheSecurityGroups smart constructor.
Instances
Request Lenses
dcsgsCacheSecurityGroupName :: Lens' DescribeCacheSecurityGroups (Maybe Text) Source #
The name of the cache security group to return details for.
dcsgsMarker :: Lens' DescribeCacheSecurityGroups (Maybe Text) Source #
An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
dcsgsMaxRecords :: Lens' DescribeCacheSecurityGroups (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
describeCacheSecurityGroupsResponse Source #
Arguments
| :: Int | |
| -> DescribeCacheSecurityGroupsResponse |
Creates a value of DescribeCacheSecurityGroupsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCacheSecurityGroupsResponse Source #
Represents the output of a DescribeCacheSecurityGroups action.
See: describeCacheSecurityGroupsResponse smart constructor.
Instances
Response Lenses
dcsgsrsCacheSecurityGroups :: Lens' DescribeCacheSecurityGroupsResponse [CacheSecurityGroup] Source #
A list of cache security groups. Each element in the list contains detailed information about one group.
dcsgsrsMarker :: Lens' DescribeCacheSecurityGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
dcsgsrsResponseStatus :: Lens' DescribeCacheSecurityGroupsResponse Int Source #
The response status code.