amazonka-dynamodb-dax-1.6.0: Amazon DynamoDB Accelerator (DAX) 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.DAX.DescribeClusters

Contents

Description

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

If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.

If the cluster is in the DELETING state, only cluster level information will be displayed.

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

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

Synopsis

Creating a Request

describeClusters :: DescribeClusters Source #

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

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

  • dcClusterNames - The names of the DAX clusters being described.
  • dcNextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .
  • dcMaxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100.

data DescribeClusters Source #

See: describeClusters smart constructor.

Instances

Eq DescribeClusters Source # 
Data DescribeClusters Source # 

Methods

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

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

toConstr :: DescribeClusters -> Constr #

dataTypeOf :: DescribeClusters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeClusters Source # 
Show DescribeClusters Source # 
Generic DescribeClusters Source # 
Hashable DescribeClusters Source # 
ToJSON DescribeClusters Source # 
NFData DescribeClusters Source # 

Methods

rnf :: DescribeClusters -> () #

AWSRequest DescribeClusters Source # 
ToHeaders DescribeClusters Source # 
ToPath DescribeClusters Source # 
ToQuery DescribeClusters Source # 
type Rep DescribeClusters Source # 
type Rep DescribeClusters = D1 * (MetaData "DescribeClusters" "Network.AWS.DAX.DescribeClusters" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DescribeClusters'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcClusterNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))
type Rs DescribeClusters Source # 

Request Lenses

dcClusterNames :: Lens' DescribeClusters [Text] Source #

The names of the DAX clusters being described.

dcNextToken :: Lens' DescribeClusters (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .

dcMaxResults :: Lens' DescribeClusters (Maybe Int) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100.

Destructuring the Response

describeClustersResponse Source #

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

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

  • dcrsNextToken - Provides an identifier to allow retrieval of paginated results.
  • dcrsClusters - The descriptions of your DAX clusters, in response to a DescribeClusters request.
  • dcrsResponseStatus - -- | The response status code.

data DescribeClustersResponse Source #

See: describeClustersResponse smart constructor.

Instances

Eq DescribeClustersResponse Source # 
Data DescribeClustersResponse Source # 

Methods

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

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

toConstr :: DescribeClustersResponse -> Constr #

dataTypeOf :: DescribeClustersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeClustersResponse Source # 
Show DescribeClustersResponse Source # 
Generic DescribeClustersResponse Source # 
NFData DescribeClustersResponse Source # 
type Rep DescribeClustersResponse Source # 
type Rep DescribeClustersResponse = D1 * (MetaData "DescribeClustersResponse" "Network.AWS.DAX.DescribeClusters" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DescribeClustersResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsClusters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Cluster]))) (S1 * (MetaSel (Just Symbol "_dcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.

dcrsClusters :: Lens' DescribeClustersResponse [Cluster] Source #

The descriptions of your DAX clusters, in response to a DescribeClusters request.