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:ListKxClusterNodes` — lists the nodes of a kdb cluster in the bound environment — node ids, availability zones, and launch times.
8 * Provide the implementation with
9 * `Effect.provide(AWS.FinSpace.ListKxClusterNodesHttp)`.
10 * ### Monitoring Clusters
11 * **Example:** List a Cluster's Nodes
12 * ```typescript
13 * const listNodes = yield* AWS.FinSpace.ListKxClusterNodes(kdb);
14 *
15 * const { nodes } = yield* listNodes({ clusterName: "hdb" });
16 * ```
17 *
18 * @binding
19 */
20export interface ListKxClusterNodes extends Binding.Service<
21 ListKxClusterNodes,
22 "AWS.FinSpace.ListKxClusterNodes",
23 <K extends KxEnvironment>(
24 environment: K,
25 ) => Effect.Effect<
26 (
27 request: Omit<SVC.ListKxClusterNodesRequest, "environmentId">,
28 ) => Effect.Effect<
29 SVC.ListKxClusterNodesResponse,
30 SVC.ListKxClusterNodesError
31 >
32 >
33> {}
34export const ListKxClusterNodes = Binding.Service<ListKxClusterNodes>(
35 "AWS.FinSpace.ListKxClusterNodes",
36);