@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 33 lines 1.11 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/finspace";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { KxEnvironment } from "./KxEnvironment.ts";
5
6 /**
7 * Runtime binding for `finspace:ListKxScalingGroups` — lists the scaling groups of the bound environment.
8 * Provide the implementation with
9 * `Effect.provide(AWS.FinSpace.ListKxScalingGroupsHttp)`.
10 * ### Managing Scaling Groups
11 * **Example:** List Scaling Groups
12 * ```typescript
13 * const listScalingGroups = yield* AWS.FinSpace.ListKxScalingGroups(kdb);
14 *
15 * const { scalingGroups } = yield* listScalingGroups();
16 * ```
17 *
18 * @binding
19 */
20 export interface ListKxScalingGroups extends Binding.Service<
21 ListKxScalingGroups,
22 "AWS.FinSpace.ListKxScalingGroups",
23 <K extends KxEnvironment>(
24 environment: K,
25 ) => Effect.Effect<
26 (
27 request?: Omit<SVC.ListKxScalingGroupsRequest, "environmentId">,
28 ) => Effect.Effect<SVC.ListKxScalingGroupsResponse, SVC.ListKxScalingGroupsError>
29 >
30 > {}
31 export const ListKxScalingGroups = Binding.Service<ListKxScalingGroups>(
32 "AWS.FinSpace.ListKxScalingGroups",
33 );