@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

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