amazonka-elasticache-1.3.6: Amazon ElastiCache SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.DescribeReplicationGroups

Contents

Description

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.

Synopsis

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:

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

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:

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.