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

main
ts 18 lines 663 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 { GetRateBasedStatementManagedKeys } from "./GetRateBasedStatementManagedKeys.ts";
5
6 export const GetRateBasedStatementManagedKeysHttp = Layer.effect(
7 GetRateBasedStatementManagedKeys,
8 makeWafv2WebAclHttpBinding({
9 tag: "AWS.WAFv2.GetRateBasedStatementManagedKeys",
10 operation: wafv2.getRateBasedStatementManagedKeys,
11 actions: ["wafv2:GetRateBasedStatementManagedKeys"],
12 inject: (acl) => ({
13 Scope: acl.scope,
14 WebACLName: acl.name,
15 WebACLId: acl.id,
16 }),
17 }),
18 );