AWS WAF · Schema

UpdateRuleRequest

SecurityWeb Application FirewallDDoS ProtectionBot ManagementEdge SecurityCloudAmazon Web Services

Properties

Name Type Description
RuleId string The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.
ChangeToken string The value returned by the most recent call to GetChangeToken.
Updates array An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types: RuleUpdate: Contains Action and Predicate Predicate: Contains Da
View JSON Schema on GitHub

JSON Schema

aws-waf-update-rule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-waf/json-schema/aws-waf-update-rule-request-schema.json",
  "title": "UpdateRuleRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-waf-rule-api-openapi.yml#/components/schemas/UpdateRuleRequest",
  "type": "object",
  "properties": {
    "RuleId": {
      "type": "string",
      "description": "The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules."
    },
    "ChangeToken": {
      "type": "string",
      "description": "The value returned by the most recent call to GetChangeToken."
    },
    "Updates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RuleUpdate"
      },
      "description": "An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types: RuleUpdate: Contains Action and Predicate Predicate: Contains DataId, Negated, and Type FieldToMatch: Contains Data and Type"
    }
  },
  "required": [
    "RuleId",
    "ChangeToken",
    "Updates"
  ],
  "$defs": {
    "Predicate": {
      "type": "object",
      "properties": {
        "Negated": {
          "type": "boolean",
          "description": "Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes th"
        },
        "Type": {
          "type": "string",
          "enum": [
            "IPMatch",
            "ByteMatch",
            "SqlInjectionMatch",
            "GeoMatch",
            "SizeConstraint",
            "XssMatch",
            "RegexMatch"
          ],
          "description": "The type of predicate in a Rule, such as ByteMatch or IPSet."
        },
        "DataId": {
          "type": "string",
          "description": "A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command."
        }
      },
      "required": [
        "Negated",
        "Type",
        "DataId"
      ]
    },
    "RuleUpdate": {
      "type": "object",
      "properties": {
        "Action": {
          "type": "string",
          "enum": [
            "INSERT",
            "DELETE"
          ],
          "description": "Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule."
        },
        "Predicate": {
          "$ref": "#/$defs/Predicate"
        }
      },
      "required": [
        "Action",
        "Predicate"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-waf-update-rule-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.