Smaws_Client_CloudHSMV2.InitializeClusterClaims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.initialize_cluster_request ->
(Types.initialize_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 ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.initialize_cluster_request ->
(Types.initialize_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 ]
* Smaws_Lib.Response.metadata)
Stdlib.result