@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 14 lines 420 Bytes
Raw
1 import * as S3 from "@distilled.cloud/aws/s3";
2 import * as Layer from "effect/Layer";
3 import { makeBucketHttpBinding } from "./BindingHttp.ts";
4 import { HeadObject } from "./HeadObject.ts";
5
6 export const HeadObjectHttp = Layer.effect(
7 HeadObject,
8 makeBucketHttpBinding({
9 tag: "AWS.S3.HeadObject",
10 operation: S3.headObject,
11 actions: ["s3:GetObject", "s3:GetObjectVersion"],
12 listBucket: true,
13 }),
14 );