Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as SVC from "@distilled.cloud/aws/finspace";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { KxEnvironment } from "./KxEnvironment.ts";
/**
* Runtime binding for `finspace:CreateKxScalingGroup` — provisions a shared compute host in the bound environment that multiple kdb clusters can be placed on.
* Provide the implementation with
* `Effect.provide(AWS.FinSpace.CreateKxScalingGroupHttp)`.
* @binding
* @section Managing Scaling Groups
* @example Provision a Scaling Group
* ```typescript
* const createScalingGroup = yield* AWS.FinSpace.CreateKxScalingGroup(kdb);
*
* const group = yield* createScalingGroup({
* scalingGroupName: "shared-hosts",
* hostType: "kx.sg.4xlarge",
* availabilityZoneId: "use1-az2",
* clientToken: crypto.randomUUID(),
* });
* ```
*/
export interface CreateKxScalingGroup extends Binding.Service<
CreateKxScalingGroup,
"AWS.FinSpace.CreateKxScalingGroup",
<K extends KxEnvironment>(
environment: K,
) => Effect.Effect<
(
request: Omit<SVC.CreateKxScalingGroupRequest, "environmentId">,
) => Effect.Effect<
SVC.CreateKxScalingGroupResponse,
SVC.CreateKxScalingGroupError
>
>
> {}
export const CreateKxScalingGroup = Binding.Service<CreateKxScalingGroup>(
"AWS.FinSpace.CreateKxScalingGroup",
);