Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeClusters = DescribeClusters' {
- clusterNames :: Maybe [Text]
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- newDescribeClusters :: DescribeClusters
- describeClusters_clusterNames :: Lens' DescribeClusters (Maybe [Text])
- describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
- describeClusters_maxResults :: Lens' DescribeClusters (Maybe Int)
- data DescribeClustersResponse = DescribeClustersResponse' {}
- newDescribeClustersResponse :: Int -> DescribeClustersResponse
- describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
- describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
- describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
Creating a Request
data DescribeClusters Source #
See: newDescribeClusters
smart constructor.
DescribeClusters' | |
|
Instances
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.
Instances
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.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int Source #
The response's http status code.