@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 35 lines 1.08 KB
Raw
1 import * as Kinesis from "@distilled.cloud/aws/kinesis";
2 import * as Binding from "alchemy/Binding";
3 import * as Effect from "effect/Effect";
4
5 export interface ListStreamsRequest extends Kinesis.ListStreamsInput {}
6
7 /**
8 * Runtime binding for `kinesis:ListStreams`.
9 *
10 * An account-level operation (no stream argument) that enumerates all
11 * Kinesis streams in the region. Provide the implementation with
12 * `Effect.provide(AWS.Kinesis.ListStreamsHttp)`.
13 * ### Inspecting Streams
14 * **Example:** List Streams in the Region
15 * ```typescript
16 * // init — account-level binding takes no resource
17 * const listStreams = yield* AWS.Kinesis.ListStreams();
18 *
19 * // runtime
20 * const result = yield* listStreams();
21 * yield* Effect.log(result.StreamNames);
22 * ```
23 *
24 * @binding
25 */
26 export interface ListStreams extends Binding.Service<
27 ListStreams,
28 "AWS.Kinesis.ListStreams",
29 () => Effect.Effect<
30 (
31 request?: ListStreamsRequest,
32 ) => Effect.Effect<Kinesis.ListStreamsOutput, Kinesis.ListStreamsError>
33 >
34 > {}
35 export const ListStreams = Binding.Service<ListStreams>("AWS.Kinesis.ListStreams");