Smaws_Client_CloudHSM.DeleteHsmThis is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmInternalException of Types.cloud_hsm_internal_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `InvalidRequestException of Types.invalid_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_hsm_request ->
(Types.delete_hsm_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmInternalException of Types.cloud_hsm_internal_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `InvalidRequestException of Types.invalid_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_hsm_request ->
(Types.delete_hsm_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudHsmInternalException of Types.cloud_hsm_internal_exception
| `CloudHsmServiceException of Types.cloud_hsm_service_exception
| `InvalidRequestException of Types.invalid_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result