Module Smaws_Client_CloudHSMV2.DeleteCluster

Deletes the specified 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.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_cluster_request -> (Types.delete_cluster_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_cluster_request -> (Types.delete_cluster_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ] * Smaws_Lib.Response.metadata) Stdlib.result