{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-list-servers-request-schema.json",
  "title": "ListServersRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-operations-api-openapi.yml#/components/schemas/ListServersRequest",
  "type": "object",
  "properties": {
    "serverCriteria": {
      "type": "string",
      "description": "Criteria for filtering servers."
    },
    "filterValue": {
      "type": "string",
      "description": "Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer."
    },
    "sort": {
      "type": "string",
      "description": "Specifies whether to sort by ascending (ASC) or descending (DESC) order."
    },
    "groupIdFilter": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Group"
      },
      "description": "Specifies the group ID to filter on."
    },
    "nextToken": {
      "type": "string",
      "description": "The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of items to include in the response. The maximum value is 100."
    }
  },
  "$defs": {
    "Group": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The key of the specific import group."
        },
        "value": {
          "type": "string",
          "description": "The value of the specific import group."
        }
      }
    }
  }
}