Skip to content

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.

527 B
Raw Blame
import * as kendra from "@distilled.cloud/aws/kendra";
import * as Layer from "effect/Layer";
import { makeKendraIndexHttpBinding } from "./BindingHttp.ts";
import { DeletePrincipalMapping } from "./DeletePrincipalMapping.ts";

export const DeletePrincipalMappingHttp = Layer.effect(
  DeletePrincipalMapping,
  makeKendraIndexHttpBinding({
    tag: "AWS.Kendra.DeletePrincipalMapping",
    operation: kendra.deletePrincipalMapping,
    actions: ["kendra:DeletePrincipalMapping"],
    subResources: ["data-source/*"],
  }),
);