Skip to content

DescribeEvents

Source: src/AWS/Redshift/DescribeEvents.ts

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

Lists recent events (maintenance, resizes, snapshots, security changes) for the account’s Redshift clusters and related resources over the last 14 days — the audit trail for operational tooling. For push delivery of the same events see EventSubscription. Provide the implementation with Effect.provide(AWS.Redshift.DescribeEventsHttp).

const describeEvents = yield* AWS.Redshift.DescribeEvents();
const page = yield* describeEvents({
SourceIdentifier: clusterId,
SourceType: "cluster",
});
const messages = page.Events?.map((e) => e.Message);