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

main
ts 15 lines 668 Bytes
Raw
1 import * as b2bi from "@distilled.cloud/aws/b2bi";
2 import * as Layer from "effect/Layer";
3 import { makeB2biAccountHttpBinding } from "./BindingHttp.ts";
4 import { CreateStarterMappingTemplate } from "./CreateStarterMappingTemplate.ts";
5
6 export const CreateStarterMappingTemplateHttp = Layer.effect(
7 CreateStarterMappingTemplate,
8 makeB2biAccountHttpBinding({
9 tag: "AWS.B2BI.CreateStarterMappingTemplate",
10 operation: b2bi.createStarterMappingTemplate,
11 // `outputSampleLocation` is written through the caller's session
12 // (forward-access), so the S3 write grant rides along.
13 actions: ["b2bi:CreateStarterMappingTemplate", "s3:PutObject"],
14 }),
15 );