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

Amazonka.ElastiCache.DescribeReplicationGroups

Description

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

Creating a Request

data DescribeReplicationGroups Source #

Represents the input of a DescribeReplicationGroups operation.

See: newDescribeReplicationGroups smart constructor.

Constructors

DescribeReplicationGroups' 

Fields

  • marker :: Maybe Text

    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.

  • maxRecords :: Maybe Int

    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.

  • replicationGroupId :: Maybe Text

    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.

Instances

Instances details
Eq DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Read DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Show DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Generic DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Associated Types

type Rep DescribeReplicationGroups :: Type -> Type #

NFData DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Hashable DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

AWSPager DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

AWSRequest DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

ToHeaders DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

ToPath DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

ToQuery DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

type Rep DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

type Rep DescribeReplicationGroups = D1 ('MetaData "DescribeReplicationGroups" "Amazonka.ElastiCache.DescribeReplicationGroups" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DescribeReplicationGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "replicationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeReplicationGroups Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

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.

Constructors

DescribeReplicationGroupsResponse' 

Fields

Instances

Instances details
Eq DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Read DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Show DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Generic DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

Associated Types

type Rep DescribeReplicationGroupsResponse :: Type -> Type #

NFData DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

type Rep DescribeReplicationGroupsResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DescribeReplicationGroups

type Rep DescribeReplicationGroupsResponse = D1 ('MetaData "DescribeReplicationGroupsResponse" "Amazonka.ElastiCache.DescribeReplicationGroups" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DescribeReplicationGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationGroup])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.