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 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:
drgsMarker
- 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
.drgsMaxRecords
- 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.drgsReplicationGroupId
- 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.
data DescribeReplicationGroups Source #
Represents the input of a DescribeReplicationGroups
operation.
See: describeReplicationGroups
smart constructor.
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 operation. 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 #
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:
drgrsMarker
- Provides an identifier to allow retrieval of paginated results.drgrsReplicationGroups
- A list of replication groups. Each item in the list contains detailed information about one replication group.drgrsResponseStatus
- -- | The response status code.
data DescribeReplicationGroupsResponse Source #
Represents the output of a DescribeReplicationGroups
operation.
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.