1import * as S3 from "@distilled.cloud/aws/s3";
2import * as Layer from "effect/Layer";
3import { makeBucketHttpBinding } from "./BindingHttp.ts";
4import { GetObjectAttributes } from "./GetObjectAttributes.ts";
5
6export 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);