| 1 | import * as S3 from "@distilled.cloud/aws/s3"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeBucketHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PutObjectRetention } from "./PutObjectRetention.ts"; |
| 5 | |
| 6 | export const PutObjectRetentionHttp = Layer.effect( |
| 7 | PutObjectRetention, |
| 8 | makeBucketHttpBinding({ |
| 9 | tag: "AWS.S3.PutObjectRetention", |
| 10 | operation: S3.putObjectRetention, |
| 11 | actions: ["s3:PutObjectRetention"], |
| 12 | }), |
| 13 | ); |