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

main
ts 19 lines 564 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 { GetObjectAttributes } from "./GetObjectAttributes.ts";
5
6 export const GetObjectAttributesHttp = Layer.effect(
7 GetObjectAttributes,
8 makeBucketHttpBinding({
9 tag: "AWS.S3.GetObjectAttributes",
10 operation: S3.getObjectAttributes,
11 actions: [
12 "s3:GetObject",
13 "s3:GetObjectVersion",
14 "s3:GetObjectAttributes",
15 "s3:GetObjectVersionAttributes",
16 ],
17 listBucket: true,
18 }),
19 );