| 1 | import * as aa from "@distilled.cloud/aws/accessanalyzer"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAnalyzerScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAccessPreview } from "./GetAccessPreview.ts"; |
| 5 | |
| 6 | export const GetAccessPreviewHttp = Layer.effect( |
| 7 | GetAccessPreview, |
| 8 | makeAnalyzerScopedHttpBinding({ |
| 9 | tag: "AWS.AccessAnalyzer.GetAccessPreview", |
| 10 | operation: aa.getAccessPreview, |
| 11 | actions: ["access-analyzer:GetAccessPreview"], |
| 12 | }), |
| 13 | ); |