Smaws_Client_Redshift.CreateHsmConfigurationCreates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM.
In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `HsmConfigurationAlreadyExistsFault of
Types.hsm_configuration_already_exists_fault
| `HsmConfigurationQuotaExceededFault of
Types.hsm_configuration_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_hsm_configuration_message ->
(Types.create_hsm_configuration_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `HsmConfigurationAlreadyExistsFault of
Types.hsm_configuration_already_exists_fault
| `HsmConfigurationQuotaExceededFault of
Types.hsm_configuration_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_hsm_configuration_message ->
(Types.create_hsm_configuration_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `HsmConfigurationAlreadyExistsFault of
Types.hsm_configuration_already_exists_fault
| `HsmConfigurationQuotaExceededFault of
Types.hsm_configuration_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result