| 1 | import * as s3control from "@distilled.cloud/aws/s3-control"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeS3ControlAccessPointHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAccessPoint } from "./GetAccessPoint.ts"; |
| 5 | |
| 6 | export const GetAccessPointHttp = Layer.effect( |
| 7 | GetAccessPoint, |
| 8 | makeS3ControlAccessPointHttpBinding({ |
| 9 | tag: "AWS.S3Control.GetAccessPoint", |
| 10 | operation: s3control.getAccessPoint, |
| 11 | actions: ["s3:GetAccessPoint"], |
| 12 | }), |
| 13 | ); |