Skip to content

DescribeEvents

Source: src/AWS/DAX/DescribeEvents.ts

Runtime binding for the DescribeEvents operation (IAM action dax:DescribeEvents).

Returns events related to DAX clusters and parameter groups from the last 24 hours (up to 14 days with an explicit time window) — node reboots, failovers, configuration changes. Provide the implementation with Effect.provide(AWS.DAX.DescribeEventsHttp).

const describeEvents = yield* DAX.DescribeEvents();
const page = yield* describeEvents({
SourceName: clusterName,
SourceType: "CLUSTER",
});
for (const event of page.Events ?? []) {
yield* Effect.logInfo(`${event.Date}: ${event.Message}`);
}