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 information about a particular replication group. If no
identifier is specified, DescribeReplicationGroups
returns information
about all replication groups.
This operation is valid for Redis only.
This operation returns paginated results.
Synopsis
- data DescribeReplicationGroups = DescribeReplicationGroups' {
- marker :: Maybe Text
- maxRecords :: Maybe Int
- replicationGroupId :: Maybe Text
- newDescribeReplicationGroups :: DescribeReplicationGroups
- describeReplicationGroups_marker :: Lens' DescribeReplicationGroups (Maybe Text)
- describeReplicationGroups_maxRecords :: Lens' DescribeReplicationGroups (Maybe Int)
- describeReplicationGroups_replicationGroupId :: Lens' DescribeReplicationGroups (Maybe Text)
- data DescribeReplicationGroupsResponse = DescribeReplicationGroupsResponse' {}
- newDescribeReplicationGroupsResponse :: Int -> DescribeReplicationGroupsResponse
- describeReplicationGroupsResponse_marker :: Lens' DescribeReplicationGroupsResponse (Maybe Text)
- describeReplicationGroupsResponse_replicationGroups :: Lens' DescribeReplicationGroupsResponse (Maybe [ReplicationGroup])
- describeReplicationGroupsResponse_httpStatus :: Lens' DescribeReplicationGroupsResponse Int
Creating a Request
data DescribeReplicationGroups Source #
Represents the input of a DescribeReplicationGroups
operation.
See: newDescribeReplicationGroups
smart constructor.
DescribeReplicationGroups' | |
|
Instances
newDescribeReplicationGroups :: DescribeReplicationGroups Source #
Create a value of DescribeReplicationGroups
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:marker:DescribeReplicationGroups'
, describeReplicationGroups_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:DescribeReplicationGroups'
, describeReplicationGroups_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.
$sel:replicationGroupId:DescribeReplicationGroups'
, describeReplicationGroups_replicationGroupId
- 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.
Request Lenses
describeReplicationGroups_marker :: 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
.
describeReplicationGroups_maxRecords :: 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.
describeReplicationGroups_replicationGroupId :: 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
data DescribeReplicationGroupsResponse Source #
Represents the output of a DescribeReplicationGroups
operation.
See: newDescribeReplicationGroupsResponse
smart constructor.
DescribeReplicationGroupsResponse' | |
|
Instances
newDescribeReplicationGroupsResponse Source #
Create a value of DescribeReplicationGroupsResponse
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:marker:DescribeReplicationGroups'
, describeReplicationGroupsResponse_marker
- Provides an identifier to allow retrieval of paginated results.
$sel:replicationGroups:DescribeReplicationGroupsResponse'
, describeReplicationGroupsResponse_replicationGroups
- A list of replication groups. Each item in the list contains detailed
information about one replication group.
$sel:httpStatus:DescribeReplicationGroupsResponse'
, describeReplicationGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReplicationGroupsResponse_marker :: Lens' DescribeReplicationGroupsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeReplicationGroupsResponse_replicationGroups :: Lens' DescribeReplicationGroupsResponse (Maybe [ReplicationGroup]) Source #
A list of replication groups. Each item in the list contains detailed information about one replication group.
describeReplicationGroupsResponse_httpStatus :: Lens' DescribeReplicationGroupsResponse Int Source #
The response's http status code.