Module Smaws_Client_ElastiCache.DeleteSnapshot

Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.

This operation is valid for Valkey or Redis OSS only.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidSnapshotStateFault of Types.invalid_snapshot_state_fault | `SnapshotNotFoundFault of Types.snapshot_not_found_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_snapshot_message -> (Types.delete_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidSnapshotStateFault of Types.invalid_snapshot_state_fault | `SnapshotNotFoundFault of Types.snapshot_not_found_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_snapshot_message -> (Types.delete_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidSnapshotStateFault of Types.invalid_snapshot_state_fault | `SnapshotNotFoundFault of Types.snapshot_not_found_fault ] * Smaws_Lib.Response.metadata) Stdlib.result