Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- describeClusters :: DescribeClusters
- data DescribeClusters
- dcClusterNames :: Lens' DescribeClusters [Text]
- dcNextToken :: Lens' DescribeClusters (Maybe Text)
- dcMaxResults :: Lens' DescribeClusters (Maybe Int)
- describeClustersResponse :: Int -> DescribeClustersResponse
- data DescribeClustersResponse
- dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text)
- dcrsClusters :: Lens' DescribeClustersResponse [Cluster]
- dcrsResponseStatus :: Lens' DescribeClustersResponse Int
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 byMaxResults
.dcMaxResults
- The maximum number of results to include in the response. If more results exist than the specifiedMaxResults
value, a token is included in the response so that the remaining results can be retrieved. The value forMaxResults
must be between 20 and 100.
data DescribeClusters Source #
See: describeClusters
smart constructor.
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.
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.
dcrsResponseStatus :: Lens' DescribeClustersResponse Int Source #
- - | The response status code.