This is a paginated operation, which means that each response might contain only a
subset of all the clusters. When the response contains only a subset of clusters, it includes
a NextToken value. Use this value in a subsequent DescribeClusters
request to get more clusters. When you receive a response with no NextToken (or
an empty or null value), that means there are no more clusters to get.
Example
Use a bare-bones client and the command you need to make an API call.
Gets information about AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a
NextToken
value. Use this value in a subsequentDescribeClusters
request to get more clusters. When you receive a response with noNextToken
(or an empty or null value), that means there are no more clusters to get.Example
Use a bare-bones client and the command you need to make an API call.
Param
DescribeClustersCommandInput
Returns
DescribeClustersCommandOutput
See
input
shape.response
shape.config
shape.Throws
CloudHsmAccessDeniedException (client fault)
The request was rejected because the requester does not have permission to perform the requested operation.
Throws
CloudHsmInternalFailureException (server fault)
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
Throws
CloudHsmInvalidRequestException (client fault)
The request was rejected because it is not a valid request.
Throws
CloudHsmServiceException (client fault)
The request was rejected because an error occurred.
Throws
CloudHsmTagException (client fault)
The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.
Throws
CloudHSMV2ServiceException
Base exception class for all service exceptions from CloudHSMV2 service.