Skip to content

ListReplays

Source: src/AWS/EventBridge/ListReplays.ts

Lists the event replays in the account (events:ListReplays).

Bind this operation inside a function runtime to enumerate replays, optionally filtered by name prefix, state, or source archive. Provide the ListReplaysHttp layer on the Function to satisfy the binding.

// init — bind the operation (provide AWS.EventBridge.ListReplaysHttp on the Function)
const listReplays = yield* AWS.EventBridge.ListReplays();
// runtime — enumerate replays currently running
const { Replays } = yield* listReplays({ State: "RUNNING" });