amazonka-dynamodb-dax-2.0: Amazon DynamoDB Accelerator (DAX) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DAX.DescribeClusters

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.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeClusters Source #

See: newDescribeClusters smart constructor.

Constructors

DescribeClusters' 

Fields

  • clusterNames :: Maybe [Text]

    The names of the DAX clusters being described.

  • maxResults :: Maybe Int

    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.

  • nextToken :: Maybe Text

    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.

Instances

Instances details
ToJSON DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

ToHeaders DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

ToPath DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

ToQuery DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

AWSPager DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

AWSRequest DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Associated Types

type AWSResponse DescribeClusters #

Generic DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Associated Types

type Rep DescribeClusters :: Type -> Type #

Read DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Show DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

NFData DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Methods

rnf :: DescribeClusters -> () #

Eq DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Hashable DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type AWSResponse DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type Rep DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type Rep DescribeClusters = D1 ('MetaData "DescribeClusters" "Amazonka.DAX.DescribeClusters" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" 'False) (C1 ('MetaCons "DescribeClusters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeClusters :: DescribeClusters Source #

Create a value of DescribeClusters 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:clusterNames:DescribeClusters', describeClusters_clusterNames - The names of the DAX clusters being described.

$sel:maxResults:DescribeClusters', describeClusters_maxResults - 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.

DescribeClusters, describeClusters_nextToken - 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.

Request Lenses

describeClusters_clusterNames :: Lens' DescribeClusters (Maybe [Text]) Source #

The names of the DAX clusters being described.

describeClusters_maxResults :: 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.

describeClusters_nextToken :: 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.

Destructuring the Response

data DescribeClustersResponse Source #

See: newDescribeClustersResponse smart constructor.

Constructors

DescribeClustersResponse' 

Fields

Instances

Instances details
Generic DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Associated Types

type Rep DescribeClustersResponse :: Type -> Type #

Read DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Show DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

NFData DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Eq DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type Rep DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type Rep DescribeClustersResponse = D1 ('MetaData "DescribeClustersResponse" "Amazonka.DAX.DescribeClusters" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" 'False) (C1 ('MetaCons "DescribeClustersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cluster])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeClustersResponse Source #

Create a value of DescribeClustersResponse 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:clusters:DescribeClustersResponse', describeClustersResponse_clusters - The descriptions of your DAX clusters, in response to a DescribeClusters request.

DescribeClusters, describeClustersResponse_nextToken - Provides an identifier to allow retrieval of paginated results.

$sel:httpStatus:DescribeClustersResponse', describeClustersResponse_httpStatus - The response's http status code.

Response Lenses

describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster]) Source #

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

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

Provides an identifier to allow retrieval of paginated results.