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