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:GetKxUser` — reads one kdb user of the bound environment — user ARN and mapped IAM role. * Provide the implementation with * `Effect.provide(AWS.FinSpace.GetKxUserHttp)`. * ### Managing kdb Users * **Example:** Read a User * ```typescript * const getUser = yield* AWS.FinSpace.GetKxUser(kdb); * * const { userArn, iamRole } = yield* getUser({ userName: "analyst" }); * ``` * * @binding */ export interface GetKxUser extends Binding.Service< GetKxUser, "AWS.FinSpace.GetKxUser", ( environment: K, ) => Effect.Effect< ( request: Omit, ) => Effect.Effect > > {} export const GetKxUser = Binding.Service("AWS.FinSpace.GetKxUser");