Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
Example
Use a bare-bones client and the command you need to make an API call.
Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteClusterCommandInput
Returns
DeleteClusterCommandOutput
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
CloudHsmResourceNotFoundException (client fault)
The request was rejected because it refers to a resource that cannot be found.
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.