AWS WAF · Schema

CreateSizeConstraintSetResponse

SecurityWeb Application FirewallDDoS ProtectionBot ManagementEdge SecurityCloudAmazon Web Services

Properties

Name Type Description
SizeConstraintSet object
ChangeToken string The ChangeToken that you used to submit the CreateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
View JSON Schema on GitHub

JSON Schema

aws-waf-create-size-constraint-set-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-waf/json-schema/aws-waf-create-size-constraint-set-response-schema.json",
  "title": "CreateSizeConstraintSetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-waf-size-constraint-set-api-openapi.yml#/components/schemas/CreateSizeConstraintSetResponse",
  "type": "object",
  "properties": {
    "SizeConstraintSet": {
      "$ref": "#/$defs/SizeConstraintSet"
    },
    "ChangeToken": {
      "type": "string",
      "description": "The ChangeToken that you used to submit the CreateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus."
    }
  },
  "$defs": {
    "SizeConstraint": {
      "type": "object",
      "properties": {
        "FieldToMatch": {
          "$ref": "#/$defs/WafFieldToMatch"
        },
        "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. Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection. NONE Specify NONE if you don't want to perform any text transformations. CMD_LINE When you're concerned that attackers are injec"
        },
        "ComparisonOperator": {
          "type": "string",
          "enum": [
            "EQ",
            "NE",
            "LE",
            "LT",
            "GE",
            "GT"
          ],
          "description": "The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of \"Size ComparisonOperator size in bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match. EQ: Used to test if the Size is equal to the size of the FieldToMatch NE: Used to test if the Size is not equal to the size of the FieldToMatch LE: Used to test if the Size is less than or equal to the size of the FieldToMatch LT: Used to test if the Size is strictly less than the size of the FieldToMatch GE"
        },
        "Size": {
          "type": "integer",
          "description": "The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of \"Size ComparisonOperator size in bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match. Valid values for size are 0 - 21474836480 bytes (0 - 20 GB). If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long."
        }
      },
      "required": [
        "FieldToMatch",
        "TextTransformation",
        "ComparisonOperator",
        "Size"
      ]
    },
    "SizeConstraintSet": {
      "type": "object",
      "properties": {
        "SizeConstraintSetId": {
          "type": "string",
          "description": "A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet). SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets."
        },
        "Name": {
          "type": "string",
          "description": "The name, if any, of the SizeConstraintSet."
        },
        "SizeConstraints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SizeConstraint"
          },
          "description": "Specifies the parts of web requests that you want to inspect the size of."
        }
      },
      "required": [
        "SizeConstraintSetId",
        "SizeConstraints"
      ]
    },
    "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-create-size-constraint-set-response"
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.