Smaws_Client_ElastiCache.DeleteServerlessCacheDeletes a specified existing serverless cache.
CreateServerlessCacheSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `InvalidServerlessCacheStateFault of
Types.invalid_serverless_cache_state_fault
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServerlessCacheSnapshotAlreadyExistsFault of
Types.serverless_cache_snapshot_already_exists_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_serverless_cache_request ->
(Types.delete_serverless_cache_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidServerlessCacheStateFault of
Types.invalid_serverless_cache_state_fault
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServerlessCacheSnapshotAlreadyExistsFault of
Types.serverless_cache_snapshot_already_exists_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_serverless_cache_request ->
(Types.delete_serverless_cache_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidServerlessCacheStateFault of
Types.invalid_serverless_cache_state_fault
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServerlessCacheSnapshotAlreadyExistsFault of
Types.serverless_cache_snapshot_already_exists_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result