libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax
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.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.

  • 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.

  • 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.

Instances

Instances details
Eq DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Read DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Show DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Generic DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Associated Types

type Rep DescribeClusters :: Type -> Type #

NFData DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Methods

rnf :: DescribeClusters -> () #

Hashable DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

ToJSON 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 #

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

type Rep DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

type Rep DescribeClusters = D1 ('MetaData "DescribeClusters" "Amazonka.DAX.DescribeClusters" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "DescribeClusters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeClusters Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

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

$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.

Request Lenses

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

The names of the DAX clusters being described.

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.

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.

Destructuring the Response

data DescribeClustersResponse Source #

See: newDescribeClustersResponse smart constructor.

Constructors

DescribeClustersResponse' 

Fields

Instances

Instances details
Eq DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Read DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Show DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Generic DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeClusters

Associated Types

type Rep DescribeClustersResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "DescribeClustersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cluster])) :*: 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:nextToken:DescribeClusters', describeClustersResponse_nextToken - Provides an identifier to allow retrieval of paginated results.

$sel:clusters:DescribeClustersResponse', describeClustersResponse_clusters - The descriptions of your DAX clusters, in response to a DescribeClusters request.

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

Response Lenses

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

Provides an identifier to allow retrieval of paginated results.

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

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