UpdateRateBasedRuleRequest

public struct UpdateRateBasedRuleRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The value returned by the most recent call to GetChangeToken.

    Declaration

    Swift

    public let changeToken: String
  • 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.

    Declaration

    Swift

    public let rateLimit: Int64
  • The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

    Declaration

    Swift

    public let ruleId: String
  • An array of RuleUpdate objects that you want to insert into or delete from a RateBasedRule.

    Declaration

    Swift

    public let updates: [RuleUpdate]
  • Undocumented

    Declaration

    Swift

    public init(changeToken: String, rateLimit: Int64, ruleId: String, updates: [RuleUpdate])
  • Declaration

    Swift

    public func validate(name: String) throws