import { _RuleUpdate } from "./_RuleUpdate"; import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * UpdateRateBasedRuleInput shape */ export interface UpdateRateBasedRuleInput { /** *

The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

*/ RuleId: string; /** *

The value returned by the most recent call to GetChangeToken.

*/ ChangeToken: string; /** *

An array of RuleUpdate objects that you want to insert into or delete from a RateBasedRule.

*/ Updates: Array<_RuleUpdate> | Iterable<_RuleUpdate>; /** *

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

*/ RateLimit: number; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }