The best way to control Claude Code, Codex and more from any computer or phone

main
ts 34 lines 1.23 KB
Raw
1 import type * as eventbridge from "@distilled.cloud/aws/eventbridge";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 export interface ListReplaysRequest extends eventbridge.ListReplaysRequest {}
6
7 /**
8 * Lists the event replays in the account (`events:ListReplays`).
9 *
10 * Bind this operation inside a function runtime to enumerate replays,
11 * optionally filtered by name prefix, state, or source archive. Provide the
12 * `ListReplaysHttp` layer on the Function to satisfy the binding.
13 * ### Replaying Events
14 * **Example:** List Running Replays
15 * ```typescript
16 * // init — bind the operation (provide AWS.EventBridge.ListReplaysHttp on the Function)
17 * const listReplays = yield* AWS.EventBridge.ListReplays();
18 *
19 * // runtime — enumerate replays currently running
20 * const { Replays } = yield* listReplays({ State: "RUNNING" });
21 * ```
22 *
23 * @binding
24 */
25 export interface ListReplays extends Binding.Service<
26 ListReplays,
27 "AWS.EventBridge.ListReplays",
28 () => Effect.Effect<
29 (
30 request?: ListReplaysRequest,
31 ) => Effect.Effect<eventbridge.ListReplaysResponse, eventbridge.ListReplaysError>
32 >
33 > {}
34 export const ListReplays = Binding.Service<ListReplays>("AWS.EventBridge.ListReplays");