1import * as wafv2 from "@distilled.cloud/aws/wafv2";
2import * as Layer from "effect/Layer";
3import { makeWafv2WebAclHttpBinding } from "./BindingHttp.ts";
4import { ListResourcesForWebACL } from "./ListResourcesForWebACL.ts";
5
6export const ListResourcesForWebACLHttp = Layer.effect(
7 ListResourcesForWebACL,
8 makeWafv2WebAclHttpBinding({
9 tag: "AWS.WAFv2.ListResourcesForWebACL",
10 operation: wafv2.listResourcesForWebACL,
11 actions: ["wafv2:ListResourcesForWebACL"],
12 inject: (acl) => ({ WebACLArn: acl.arn }),
13 }),
14);