@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 15 lines 595 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 { TestConversion } from "./TestConversion.ts";
5
6 export const TestConversionHttp = Layer.effect(
7 TestConversion,
8 makeB2biAccountHttpBinding({
9 tag: "AWS.B2BI.TestConversion",
10 operation: b2bi.testConversion,
11 // `target.outputSampleFile` is read through the caller's session
12 // (forward-access), so the S3 read grants ride along.
13 actions: ["b2bi:TestConversion", "s3:GetObject", "s3:GetObjectAttributes"],
14 }),
15 );