Smaws_Client_DocDB.CreateDBSubnetGroupCreates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBSubnetGroupAlreadyExistsFault of
Types.db_subnet_group_already_exists_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupQuotaExceededFault of
Types.db_subnet_group_quota_exceeded_fault
| `DBSubnetQuotaExceededFault of Types.db_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_db_subnet_group_message ->
(Types.create_db_subnet_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBSubnetGroupAlreadyExistsFault of
Types.db_subnet_group_already_exists_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupQuotaExceededFault of
Types.db_subnet_group_quota_exceeded_fault
| `DBSubnetQuotaExceededFault of Types.db_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_db_subnet_group_message ->
(Types.create_db_subnet_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBSubnetGroupAlreadyExistsFault of
Types.db_subnet_group_already_exists_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupQuotaExceededFault of
Types.db_subnet_group_quota_exceeded_fault
| `DBSubnetQuotaExceededFault of Types.db_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet ]
* Smaws_Lib.Response.metadata)
Stdlib.result