Smaws_Client_ElastiCache.CreateCacheSecurityGroupCreates a new cache security group. Use a cache security group to control access to one or more clusters.
Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupAlreadyExistsFault of
Types.cache_security_group_already_exists_fault
| `CacheSecurityGroupQuotaExceededFault of
Types.cache_security_group_quota_exceeded_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_cache_security_group_message ->
(Types.create_cache_security_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupAlreadyExistsFault of
Types.cache_security_group_already_exists_fault
| `CacheSecurityGroupQuotaExceededFault of
Types.cache_security_group_quota_exceeded_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_cache_security_group_message ->
(Types.create_cache_security_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupAlreadyExistsFault of
Types.cache_security_group_already_exists_fault
| `CacheSecurityGroupQuotaExceededFault of
Types.cache_security_group_quota_exceeded_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result