Smaws_Client_ElastiCache.CreateCacheSubnetGroupCreates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CacheSubnetGroupAlreadyExistsFault of
Types.cache_subnet_group_already_exists_fault
| `CacheSubnetGroupQuotaExceededFault of
Types.cache_subnet_group_quota_exceeded_fault
| `CacheSubnetQuotaExceededFault of Types.cache_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetNotAllowedFault of Types.subnet_not_allowed_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_cache_subnet_group_message ->
(Types.create_cache_subnet_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSubnetGroupAlreadyExistsFault of
Types.cache_subnet_group_already_exists_fault
| `CacheSubnetGroupQuotaExceededFault of
Types.cache_subnet_group_quota_exceeded_fault
| `CacheSubnetQuotaExceededFault of Types.cache_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetNotAllowedFault of Types.subnet_not_allowed_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_cache_subnet_group_message ->
(Types.create_cache_subnet_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSubnetGroupAlreadyExistsFault of
Types.cache_subnet_group_already_exists_fault
| `CacheSubnetGroupQuotaExceededFault of
Types.cache_subnet_group_quota_exceeded_fault
| `CacheSubnetQuotaExceededFault of Types.cache_subnet_quota_exceeded_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetNotAllowedFault of Types.subnet_not_allowed_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result