Smaws_Client_Neptune.AddRoleToDBClusterAssociates an Identity and Access Management (IAM) role with an Neptune DB cluster.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterRoleAlreadyExistsFault of
Types.db_cluster_role_already_exists_fault
| `DBClusterRoleQuotaExceededFault of
Types.db_cluster_role_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.add_role_to_db_cluster_message ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterRoleAlreadyExistsFault of
Types.db_cluster_role_already_exists_fault
| `DBClusterRoleQuotaExceededFault of
Types.db_cluster_role_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.add_role_to_db_cluster_message ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterRoleAlreadyExistsFault of
Types.db_cluster_role_already_exists_fault
| `DBClusterRoleQuotaExceededFault of
Types.db_cluster_role_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result