{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-supply-chain/json-schema/amazon-supply-chain-list-instances-request-schema.json",
  "title": "ListInstancesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-supply-chain-instances-api-openapi.yml#/components/schemas/ListInstancesRequest",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "The pagination token to fetch the next page of instances."
    },
    "maxResults": {
      "type": "integer",
      "description": "Specify the maximum number of instances to fetch in this paginated request."
    },
    "instanceNameFilter": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The filter to ListInstances based on their names."
    },
    "instanceStateFilter": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Initializing",
          "Active",
          "CreateFailed",
          "DeleteFailed",
          "Deleting",
          "Deleted"
        ]
      },
      "description": "The filter to ListInstances based on their state."
    }
  }
}