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:DeleteKxScalingGroup` — deletes a scaling group from the bound environment. The group must have no clusters placed on it. * Provide the implementation with * `Effect.provide(AWS.FinSpace.DeleteKxScalingGroupHttp)`. * ### Managing Scaling Groups * **Example:** Delete a Scaling Group * ```typescript * const deleteScalingGroup = yield* AWS.FinSpace.DeleteKxScalingGroup(kdb); * * yield* deleteScalingGroup({ * scalingGroupName: "shared-hosts", * clientToken: crypto.randomUUID(), * }); * ``` * * @binding */ export interface DeleteKxScalingGroup extends Binding.Service< DeleteKxScalingGroup, "AWS.FinSpace.DeleteKxScalingGroup", ( environment: K, ) => Effect.Effect< ( request: Omit, ) => Effect.Effect< SVC.DeleteKxScalingGroupResponse, SVC.DeleteKxScalingGroupError > > > {} export const DeleteKxScalingGroup = Binding.Service( "AWS.FinSpace.DeleteKxScalingGroup", );