amazonka-elasticache-1.6.1: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.DescribeCacheClusters

Contents

Description

Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cache cluster if a cluster identifier is supplied.

By default, abbreviated information about the clusters is returned. You can use the optional ShowCacheNodeInfo flag to retrieve detailed information about the cache nodes associated with the clusters. These details include the DNS address and port for the cache node endpoint.

If the cluster is in the creating state, only cluster-level information is displayed until all of the nodes are successfully provisioned.

If the cluster is in the deleting state, only cluster-level information is displayed.

If cache nodes are currently being added to the cluster, node endpoint information and creation time for the additional nodes are not displayed until they are completely provisioned. When the cluster state is available , the cluster is ready for use.

If cache nodes are currently being removed from the cluster, no endpoint information for the removed nodes is displayed.

This operation returns paginated results.

Synopsis

Creating a Request

describeCacheClusters :: DescribeCacheClusters Source #

Creates a value of DescribeCacheClusters with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dShowCacheClustersNotInReplicationGroups - An optional flag that can be included in the DescribeCacheCluster request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.
  • dCacheClusterId - The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.
  • dMarker - 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 .
  • dMaxRecords - 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.
  • dShowCacheNodeInfo - An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.

data DescribeCacheClusters Source #

Represents the input of a DescribeCacheClusters operation.

See: describeCacheClusters smart constructor.

Instances
Eq DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Data DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Methods

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

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

toConstr :: DescribeCacheClusters -> Constr #

dataTypeOf :: DescribeCacheClusters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Show DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Generic DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Associated Types

type Rep DescribeCacheClusters :: Type -> Type #

Hashable DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

AWSPager DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

AWSRequest DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Associated Types

type Rs DescribeCacheClusters :: Type #

ToHeaders DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

ToPath DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

ToQuery DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

NFData DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Methods

rnf :: DescribeCacheClusters -> () #

type Rep DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

type Rep DescribeCacheClusters = D1 (MetaData "DescribeCacheClusters" "Network.AWS.ElastiCache.DescribeCacheClusters" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "DescribeCacheClusters'" PrefixI True) ((S1 (MetaSel (Just "_dShowCacheClustersNotInReplicationGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dCacheClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_dShowCacheNodeInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Rs DescribeCacheClusters Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Request Lenses

dShowCacheClustersNotInReplicationGroups :: Lens' DescribeCacheClusters (Maybe Bool) Source #

An optional flag that can be included in the DescribeCacheCluster request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.

dCacheClusterId :: Lens' DescribeCacheClusters (Maybe Text) Source #

The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.

dMarker :: Lens' DescribeCacheClusters (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 .

dMaxRecords :: Lens' DescribeCacheClusters (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.

dShowCacheNodeInfo :: Lens' DescribeCacheClusters (Maybe Bool) Source #

An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.

Destructuring the Response

describeCacheClustersResponse Source #

Creates a value of DescribeCacheClustersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • drsCacheClusters - A list of clusters. Each item in the list contains detailed information about one cluster.
  • drsMarker - Provides an identifier to allow retrieval of paginated results.
  • drsResponseStatus - -- | The response status code.

data DescribeCacheClustersResponse Source #

Represents the output of a DescribeCacheClusters operation.

See: describeCacheClustersResponse smart constructor.

Instances
Eq DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Data DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Methods

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

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

toConstr :: DescribeCacheClustersResponse -> Constr #

dataTypeOf :: DescribeCacheClustersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Show DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Generic DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

Associated Types

type Rep DescribeCacheClustersResponse :: Type -> Type #

NFData DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

type Rep DescribeCacheClustersResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheClusters

type Rep DescribeCacheClustersResponse = D1 (MetaData "DescribeCacheClustersResponse" "Network.AWS.ElastiCache.DescribeCacheClusters" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "DescribeCacheClustersResponse'" PrefixI True) (S1 (MetaSel (Just "_drsCacheClusters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheCluster])) :*: (S1 (MetaSel (Just "_drsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

drsCacheClusters :: Lens' DescribeCacheClustersResponse [CacheCluster] Source #

A list of clusters. Each item in the list contains detailed information about one cluster.

drsMarker :: Lens' DescribeCacheClustersResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.