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 security group descriptions. If a cache security group name is specified, the list contains only the description of that group. This applicable only when you have ElastiCache in Classic setup
This operation returns paginated results.
Synopsis
- data DescribeCacheSecurityGroups = DescribeCacheSecurityGroups' {}
- newDescribeCacheSecurityGroups :: DescribeCacheSecurityGroups
- describeCacheSecurityGroups_cacheSecurityGroupName :: Lens' DescribeCacheSecurityGroups (Maybe Text)
- describeCacheSecurityGroups_marker :: Lens' DescribeCacheSecurityGroups (Maybe Text)
- describeCacheSecurityGroups_maxRecords :: Lens' DescribeCacheSecurityGroups (Maybe Int)
- data DescribeCacheSecurityGroupsResponse = DescribeCacheSecurityGroupsResponse' {}
- newDescribeCacheSecurityGroupsResponse :: Int -> DescribeCacheSecurityGroupsResponse
- describeCacheSecurityGroupsResponse_cacheSecurityGroups :: Lens' DescribeCacheSecurityGroupsResponse (Maybe [CacheSecurityGroup])
- describeCacheSecurityGroupsResponse_marker :: Lens' DescribeCacheSecurityGroupsResponse (Maybe Text)
- describeCacheSecurityGroupsResponse_httpStatus :: Lens' DescribeCacheSecurityGroupsResponse Int
Creating a Request
data DescribeCacheSecurityGroups Source #
Represents the input of a DescribeCacheSecurityGroups
operation.
See: newDescribeCacheSecurityGroups
smart constructor.
DescribeCacheSecurityGroups' | |
|
Instances
newDescribeCacheSecurityGroups :: DescribeCacheSecurityGroups Source #
Create a value of DescribeCacheSecurityGroups
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:cacheSecurityGroupName:DescribeCacheSecurityGroups'
, describeCacheSecurityGroups_cacheSecurityGroupName
- The name of the cache security group to return details for.
$sel:marker:DescribeCacheSecurityGroups'
, describeCacheSecurityGroups_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:DescribeCacheSecurityGroups'
, describeCacheSecurityGroups_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
describeCacheSecurityGroups_cacheSecurityGroupName :: Lens' DescribeCacheSecurityGroups (Maybe Text) Source #
The name of the cache security group to return details for.
describeCacheSecurityGroups_marker :: Lens' DescribeCacheSecurityGroups (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
.
describeCacheSecurityGroups_maxRecords :: 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
data DescribeCacheSecurityGroupsResponse Source #
Represents the output of a DescribeCacheSecurityGroups
operation.
See: newDescribeCacheSecurityGroupsResponse
smart constructor.
DescribeCacheSecurityGroupsResponse' | |
|
Instances
newDescribeCacheSecurityGroupsResponse Source #
Create a value of DescribeCacheSecurityGroupsResponse
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:cacheSecurityGroups:DescribeCacheSecurityGroupsResponse'
, describeCacheSecurityGroupsResponse_cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.
$sel:marker:DescribeCacheSecurityGroups'
, describeCacheSecurityGroupsResponse_marker
- Provides an identifier to allow retrieval of paginated results.
$sel:httpStatus:DescribeCacheSecurityGroupsResponse'
, describeCacheSecurityGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeCacheSecurityGroupsResponse_cacheSecurityGroups :: Lens' DescribeCacheSecurityGroupsResponse (Maybe [CacheSecurityGroup]) Source #
A list of cache security groups. Each element in the list contains detailed information about one group.
describeCacheSecurityGroupsResponse_marker :: Lens' DescribeCacheSecurityGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeCacheSecurityGroupsResponse_httpStatus :: Lens' DescribeCacheSecurityGroupsResponse Int Source #
The response's http status code.