The best way to control Claude Code, Codex and more from any computer or phone

main
ts 14 lines 506 Bytes
Raw
1 import * as kendra from "@distilled.cloud/aws/kendra";
2 import * as Layer from "effect/Layer";
3 import { makeKendraIndexHttpBinding } from "./BindingHttp.ts";
4 import { PutPrincipalMapping } from "./PutPrincipalMapping.ts";
5
6 export const PutPrincipalMappingHttp = Layer.effect(
7 PutPrincipalMapping,
8 makeKendraIndexHttpBinding({
9 tag: "AWS.Kendra.PutPrincipalMapping",
10 operation: kendra.putPrincipalMapping,
11 actions: ["kendra:PutPrincipalMapping"],
12 subResources: ["data-source/*"],
13 }),
14 );