| 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.DescribeReplicationGroups
Description
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
This operation returns paginated results.
- describeReplicationGroups :: DescribeReplicationGroups
- data DescribeReplicationGroups
- drgsMarker :: Lens' DescribeReplicationGroups (Maybe Text)
- drgsMaxRecords :: Lens' DescribeReplicationGroups (Maybe Int)
- drgsReplicationGroupId :: Lens' DescribeReplicationGroups (Maybe Text)
- describeReplicationGroupsResponse :: Int -> DescribeReplicationGroupsResponse
- data DescribeReplicationGroupsResponse
- drgrsMarker :: Lens' DescribeReplicationGroupsResponse (Maybe Text)
- drgrsReplicationGroups :: Lens' DescribeReplicationGroupsResponse [ReplicationGroup]
- drgrsResponseStatus :: Lens' DescribeReplicationGroupsResponse Int
Creating a Request
describeReplicationGroups :: DescribeReplicationGroups Source
Creates a value of DescribeReplicationGroups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReplicationGroups Source
Represents the input of a DescribeReplicationGroups action.
See: describeReplicationGroups smart constructor.
Instances
Request Lenses
drgsMarker :: Lens' DescribeReplicationGroups (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.
drgsMaxRecords :: Lens' DescribeReplicationGroups (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.
drgsReplicationGroupId :: Lens' DescribeReplicationGroups (Maybe Text) Source
The identifier for the replication group to be described. This parameter is not case sensitive.
If you do not specify this parameter, information about all replication groups is returned.
Destructuring the Response
describeReplicationGroupsResponse Source
Arguments
| :: Int | |
| -> DescribeReplicationGroupsResponse |
Creates a value of DescribeReplicationGroupsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReplicationGroupsResponse Source
Represents the output of a DescribeReplicationGroups action.
See: describeReplicationGroupsResponse smart constructor.
Response Lenses
drgrsMarker :: Lens' DescribeReplicationGroupsResponse (Maybe Text) Source
Provides an identifier to allow retrieval of paginated results.
drgrsReplicationGroups :: Lens' DescribeReplicationGroupsResponse [ReplicationGroup] Source
A list of replication groups. Each item in the list contains detailed information about one replication group.
drgrsResponseStatus :: Lens' DescribeReplicationGroupsResponse Int Source
The response status code.