Smaws_Client_CloudHSMV2.CreateClusterCreates a new CloudHSM cluster.
Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter.
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
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_cluster_request ->
(Types.create_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
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_cluster_request ->
(Types.create_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
| `CloudHsmTagException of Types.cloud_hsm_tag_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result