Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
See: AWS API Reference for DescribeReplicationGroups.
This operation returns paginated results.
- describeReplicationGroups :: DescribeReplicationGroups
- data DescribeReplicationGroups
- drgsMaxRecords :: Lens' DescribeReplicationGroups (Maybe Int)
- drgsMarker :: Lens' DescribeReplicationGroups (Maybe Text)
- drgsReplicationGroupId :: Lens' DescribeReplicationGroups (Maybe Text)
- describeReplicationGroupsResponse :: Int -> DescribeReplicationGroupsResponse
- data DescribeReplicationGroupsResponse
- drgrsMarker :: Lens' DescribeReplicationGroupsResponse (Maybe Text)
- drgrsReplicationGroups :: Lens' DescribeReplicationGroupsResponse [ReplicationGroup]
- drgrsStatus :: 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.
Request Lenses
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.
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.
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
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.
drgrsStatus :: Lens' DescribeReplicationGroupsResponse Int Source
The response status code.