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

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

export const GetFindingHttp = Layer.effect(
  GetFinding,
  makeAnalyzerScopedHttpBinding({
    tag: "AWS.AccessAnalyzer.GetFinding",
    operation: aa.getFinding,
    actions: ["access-analyzer:GetFinding"],
  }),
);