1import type * as SVC from "@distilled.cloud/aws/finspace";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4import 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 */
20export 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<
29 SVC.ListKxScalingGroupsResponse,
30 SVC.ListKxScalingGroupsError
31 >
32 >
33> {}
34export const ListKxScalingGroups = Binding.Service<ListKxScalingGroups>(
35 "AWS.FinSpace.ListKxScalingGroups",
36);