{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-waf/json-schema/aws-waf-create-sql-injection-match-set-response-schema.json",
  "title": "CreateSqlInjectionMatchSetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-waf-sql-injection-match-set-api-openapi.yml#/components/schemas/CreateSqlInjectionMatchSetResponse",
  "type": "object",
  "properties": {
    "SqlInjectionMatchSet": {
      "$ref": "#/$defs/SqlInjectionMatchSet"
    },
    "ChangeToken": {
      "type": "string",
      "description": "The ChangeToken that you used to submit the CreateSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus."
    }
  },
  "$defs": {
    "SqlInjectionMatchSet": {
      "type": "object",
      "properties": {
        "SqlInjectionMatchSetId": {
          "type": "string",
          "description": "A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet). SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets."
        },
        "Name": {
          "type": "string",
          "description": "The name, if any, of the SqlInjectionMatchSet."
        },
        "SqlInjectionMatchTuples": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SqlInjectionMatchTuple"
          },
          "description": "Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code."
        }
      },
      "required": [
        "SqlInjectionMatchSetId",
        "SqlInjectionMatchTuples"
      ]
    },
    "SqlInjectionMatchTuple": {
      "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. 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 "
        }
      },
      "required": [
        "FieldToMatch",
        "TextTransformation"
      ]
    },
    "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"
      ]
    }
  }
}