Smaws_Client_CloudHSM.DescribeHsmThis 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.
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
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.describe_hsm_request ->
(Types.describe_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.describe_hsm_request ->
(Types.describe_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