Smaws_Client_ElastiCache.DeleteCacheSecurityGroupDeletes a cache security group.
You cannot delete a cache security group if it is associated with any clusters.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_cache_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_cache_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result