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