import type * as WAFV2 from "@distilled.cloud/aws/wafv2"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { WebACL } from "./WebACL.ts"; export interface GetRateBasedStatementManagedKeysRequest extends Omit { } /** * Runtime binding for `wafv2:GetRateBasedStatementManagedKeys` — read the * IP addresses that a rate-based rule of the bound {@link WebACL} is * currently blocking; the web ACL name, id, and scope are injected * automatically. * * Provide `WAFv2.GetRateBasedStatementManagedKeysHttp` on the hosting * Lambda Function to satisfy the requirement. * ### Inspecting Traffic * **Example:** Read the Currently Rate-Limited Addresses * ```typescript * // init — grants wafv2:GetRateBasedStatementManagedKeys on the web ACL * const getManagedKeys = yield* AWS.WAFv2.GetRateBasedStatementManagedKeys(acl); * * // runtime * const { ManagedKeysIPV4 } = yield* getManagedKeys({ RuleName: "rate-limit" }); * const blocked = ManagedKeysIPV4?.Addresses ?? []; * ``` * * @binding */ export interface GetRateBasedStatementManagedKeys extends Binding.Service Effect.Effect<(request: GetRateBasedStatementManagedKeysRequest) => Effect.Effect>> { } export declare const GetRateBasedStatementManagedKeys: GetRateBasedStatementManagedKeys; //# sourceMappingURL=GetRateBasedStatementManagedKeys.d.ts.map