DeleteServerlessCacheSnapshot
Source:
src/AWS/ElastiCache/DeleteServerlessCacheSnapshot.ts
Runtime binding for the DeleteServerlessCacheSnapshot operation (IAM
action elasticache:DeleteServerlessCacheSnapshot).
Deletes a serverless cache snapshot by name — e.g. rotating out old manual
backups from a maintenance Lambda. Available for valkey, redis, and
serverless memcached. Provide the implementation with
Effect.provide(AWS.ElastiCache.DeleteServerlessCacheSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const deleteSnapshot = yield* ElastiCache.DeleteServerlessCacheSnapshot();
yield* deleteSnapshot({ ServerlessCacheSnapshotName: "pre-migration" }).pipe( Effect.catchTag("ServerlessCacheSnapshotNotFoundFault", () => Effect.void),);