{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-memorydb/json-schema/amazon-memorydb-describe-users-request-schema.json",
  "title": "DescribeUsersRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-memorydb-users-api-openapi.yml#/components/schemas/DescribeUsersRequest",
  "type": "object",
  "properties": {
    "UserName": {
      "type": "string",
      "description": "The name of the user."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "Filter to determine the list of users to return."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved."
    },
    "NextToken": {
      "type": "string",
      "description": "An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged."
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The property being filtered. For example, UserName."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The property values to filter on. For example, \"user-123\"."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    }
  }
}