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