amazonka-elasticache-1.4.5: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 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

Returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.

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:

  • 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 by MaxRecords .
  • drgsMaxRecords - 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 - 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.

Instances

Eq DescribeReplicationGroups Source # 
Data DescribeReplicationGroups Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeReplicationGroups -> c DescribeReplicationGroups #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeReplicationGroups #

toConstr :: DescribeReplicationGroups -> Constr #

dataTypeOf :: DescribeReplicationGroups -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeReplicationGroups) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeReplicationGroups) #

gmapT :: (forall b. Data b => b -> b) -> DescribeReplicationGroups -> DescribeReplicationGroups #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeReplicationGroups -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeReplicationGroups -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeReplicationGroups -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeReplicationGroups -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeReplicationGroups -> m DescribeReplicationGroups #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeReplicationGroups -> m DescribeReplicationGroups #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeReplicationGroups -> m DescribeReplicationGroups #

Read DescribeReplicationGroups Source # 
Show DescribeReplicationGroups Source # 
Generic DescribeReplicationGroups Source # 
Hashable DescribeReplicationGroups Source # 
NFData DescribeReplicationGroups Source # 
AWSPager DescribeReplicationGroups Source # 
AWSRequest DescribeReplicationGroups Source # 
ToPath DescribeReplicationGroups Source # 
ToHeaders DescribeReplicationGroups Source # 
ToQuery DescribeReplicationGroups Source # 
type Rep DescribeReplicationGroups Source # 
type Rep DescribeReplicationGroups = D1 (MetaData "DescribeReplicationGroups" "Network.AWS.ElastiCache.DescribeReplicationGroups" "amazonka-elasticache-1.4.5-DCZ22LKkzpiJjmUycYjUf" False) (C1 (MetaCons "DescribeReplicationGroups'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drgsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_drgsMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_drgsReplicationGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeReplicationGroups Source # 

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.

Instances

Eq DescribeReplicationGroupsResponse Source # 
Data DescribeReplicationGroupsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeReplicationGroupsResponse -> c DescribeReplicationGroupsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeReplicationGroupsResponse #

toConstr :: DescribeReplicationGroupsResponse -> Constr #

dataTypeOf :: DescribeReplicationGroupsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeReplicationGroupsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeReplicationGroupsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeReplicationGroupsResponse -> DescribeReplicationGroupsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeReplicationGroupsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeReplicationGroupsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeReplicationGroupsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeReplicationGroupsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeReplicationGroupsResponse -> m DescribeReplicationGroupsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeReplicationGroupsResponse -> m DescribeReplicationGroupsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeReplicationGroupsResponse -> m DescribeReplicationGroupsResponse #

Read DescribeReplicationGroupsResponse Source # 
Show DescribeReplicationGroupsResponse Source # 
Generic DescribeReplicationGroupsResponse Source # 
NFData DescribeReplicationGroupsResponse Source # 
type Rep DescribeReplicationGroupsResponse Source # 
type Rep DescribeReplicationGroupsResponse = D1 (MetaData "DescribeReplicationGroupsResponse" "Network.AWS.ElastiCache.DescribeReplicationGroups" "amazonka-elasticache-1.4.5-DCZ22LKkzpiJjmUycYjUf" False) (C1 (MetaCons "DescribeReplicationGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drgrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_drgrsReplicationGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReplicationGroup]))) (S1 (MetaSel (Just Symbol "_drgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.