AWS WAF · Schema

UpdateByteMatchSetRequest

SecurityWeb Application FirewallDDoS ProtectionBot ManagementEdge SecurityCloudAmazon Web Services

Properties

Name Type Description
ByteMatchSetId string The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.
ChangeToken string The value returned by the most recent call to GetChangeToken.
Updates array An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types: ByteMatchSetUpdate: Contains Action and ByteMatc
View JSON Schema on GitHub

JSON Schema

aws-waf-update-byte-match-set-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-byte-match-set-request-schema.json",
  "title": "UpdateByteMatchSetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-waf-byte-match-set-api-openapi.yml#/components/schemas/UpdateByteMatchSetRequest",
  "type": "object",
  "properties": {
    "ByteMatchSetId": {
      "type": "string",
      "description": "The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets."
    },
    "ChangeToken": {
      "type": "string",
      "description": "The value returned by the most recent call to GetChangeToken."
    },
    "Updates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ByteMatchSetUpdate"
      },
      "description": "An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types: ByteMatchSetUpdate: Contains Action and ByteMatchTuple ByteMatchTuple: Contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation FieldToMatch: Contains Data and Type"
    }
  },
  "required": [
    "ByteMatchSetId",
    "ChangeToken",
    "Updates"
  ],
  "$defs": {
    "ByteMatchSetUpdate": {
      "type": "object",
      "properties": {
        "Action": {
          "type": "string",
          "enum": [
            "INSERT",
            "DELETE"
          ],
          "description": "Specifies whether to insert or delete a ByteMatchTuple."
        },
        "ByteMatchTuple": {
          "$ref": "#/$defs/ByteMatchTuple"
        }
      },
      "required": [
        "Action",
        "ByteMatchTuple"
      ]
    },
    "ByteMatchTuple": {
      "type": "object",
      "properties": {
        "FieldToMatch": {
          "$ref": "#/$defs/WafFieldToMatch"
        },
        "TargetString": {
          "type": "string",
          "format": "byte",
          "description": "The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes. Valid values depend on the values that you specified for FieldToMatch: HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header. METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS,"
        },
        "TextTransformation": {
          "type": "string",
          "enum": [
            "NONE",
            "COMPRESS_WHITE_SPACE",
            "HTML_ENTITY_DECODE",
            "LOWERCASE",
            "CMD_LINE",
            "URL_DECODE"
          ],
          "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match. You can only specify a single type of TextTransformation. CMD_LINE When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \\ \" ' ^ Delete spaces before the "
        },
        "PositionalConstraint": {
          "type": "string",
          "enum": [
            "EXACTLY",
            "STARTS_WITH",
            "ENDS_WITH",
            "CONTAINS",
            "CONTAINS_WORD"
          ],
          "description": "Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following: CONTAINS The specified part of the web request must include the value of TargetString, but the location doesn't matter. CONTAINS_WORD The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following: TargetString exactly matches the v"
        }
      },
      "required": [
        "FieldToMatch",
        "TargetString",
        "TextTransformation",
        "PositionalConstraint"
      ]
    },
    "WafFieldToMatch": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "URI",
            "QUERY_STRING",
            "HEADER",
            "METHOD",
            "BODY",
            "SINGLE_QUERY_ARG",
            "ALL_QUERY_ARGS"
          ],
          "description": "The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following: HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data. METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. QUERY_STRING: A query string, which is the part of a URL that appears "
        },
        "Data": {
          "type": "string",
          "description": "When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. The name of the header is not case sensitive. When the value of Type is SINGLE_QUERY_ARG, enter the name of the parameter that you want AWS WAF to search, for example, UserName or SalesRegion. The parameter name is not case sensitive. If the value of Type is any other value, omit Data."
        }
      },
      "required": [
        "Type"
      ]
    }
  }
}

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-byte-match-set-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.