DescribeEvents
Source:
src/AWS/ElastiCache/DescribeEvents.ts
Runtime binding for the DescribeEvents operation (IAM action
elasticache:DescribeEvents).
Returns events related to caches, replication groups, security groups, and
parameter groups from the last hour (up to 14 days with an explicit time
window) — snapshot completions, failovers, configuration changes. Provide
the implementation with Effect.provide(AWS.ElastiCache.DescribeEventsHttp).
Monitoring Caches
Section titled “Monitoring Caches”const describeEvents = yield* ElastiCache.DescribeEvents();
const page = yield* describeEvents({ SourceIdentifier: cacheName, SourceType: "serverless-cache",});for (const event of page.Events ?? []) { yield* Effect.logInfo(`${event.Date}: ${event.Message}`);}