Module Smaws_Client_CloudHSM.ModifyHsm

This 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.

Modifies an HSM.

This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.

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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.modify_hsm_request -> (Types.modify_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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.modify_hsm_request -> (Types.modify_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