sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ AccessAnalyzer/ ListPolicyGenerationsHttp.ts

import * as aa from "@distilled.cloud/aws/accessanalyzer";
import * as Layer from "effect/Layer";
import { makeAccessAnalyzerAccountHttpBinding } from "./BindingHttp.ts";
import { ListPolicyGenerations } from "./ListPolicyGenerations.ts";

export const ListPolicyGenerationsHttp = Layer.effect(
  ListPolicyGenerations,
  makeAccessAnalyzerAccountHttpBinding({
    tag: "AWS.AccessAnalyzer.ListPolicyGenerations",
    operation: aa.listPolicyGenerations,
    actions: ["access-analyzer:ListPolicyGenerations"],
  }),
);