Smaws_Client_CloudHSM.CreateLunaClientThis 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.
Creates an HSM client.
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.create_luna_client_request ->
(Types.create_luna_client_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.create_luna_client_request ->
(Types.create_luna_client_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