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

main
ts 13 lines 432 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 { GetObjectLegalHold } from "./GetObjectLegalHold.ts";
5
6 export const GetObjectLegalHoldHttp = Layer.effect(
7 GetObjectLegalHold,
8 makeBucketHttpBinding({
9 tag: "AWS.S3.GetObjectLegalHold",
10 operation: S3.getObjectLegalHold,
11 actions: ["s3:GetObjectLegalHold"],
12 }),
13 );