{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-waf/json-schema/aws-waf-get-regex-pattern-set-response-schema.json",
  "title": "GetRegexPatternSetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-waf-regex-pattern-set-api-openapi.yml#/components/schemas/GetRegexPatternSetResponse",
  "type": "object",
  "properties": {
    "RegexPatternSet": {
      "$ref": "#/$defs/RegexPatternSet"
    },
    "LockToken": {
      "type": "string",
      "description": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation."
    }
  },
  "$defs": {
    "Regex": {
      "type": "object",
      "properties": {
        "RegexString": {
          "type": "string",
          "description": "The string representing the regular expression. WAF enforces a quota on the maximum number of characters in a regex pattern. For the current limit, see WAF quotas in the WAF Developer Guide."
        }
      }
    },
    "RegexPatternSet": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the set. You cannot change the name after you create the set."
        },
        "Id": {
          "type": "string",
          "description": "A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete."
        },
        "ARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the entity."
        },
        "Description": {
          "type": "string",
          "description": "A description of the set that helps with identification."
        },
        "RegularExpressionList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Regex"
          },
          "description": "The regular expression patterns in the set."
        }
      }
    }
  }
}