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.
Replaying Events
Section titled “Replaying Events”// init — bind the operation (provide AWS.EventBridge.ListReplaysHttp on the Function)const listReplays = yield* AWS.EventBridge.ListReplays();
// runtime — enumerate replays currently runningconst { Replays } = yield* listReplays({ State: "RUNNING" });