Smaws_Client_ElastiCache.DeleteCacheParameterGroupDeletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters. You cannot delete the default cache parameter groups in your account.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `InvalidCacheParameterGroupStateFault of
Types.invalid_cache_parameter_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_parameter_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `InvalidCacheParameterGroupStateFault of
Types.invalid_cache_parameter_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_parameter_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `InvalidCacheParameterGroupStateFault of
Types.invalid_cache_parameter_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result