{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-greengrass/json-schema/amazon-iot-greengrass-list-core-devices-request-schema.json",
  "title": "ListCoreDevicesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-greengrass-greengrass-api-openapi.yml#/components/schemas/ListCoreDevicesRequest",
  "type": "object",
  "properties": {
    "thingGroupArn": {
      "type": "string",
      "description": "The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device."
    },
    "status": {
      "type": "string",
      "enum": [
        "HEALTHY",
        "UNHEALTHY"
      ],
      "description": "The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options: HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue. UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to be returned per paginated request."
    },
    "nextToken": {
      "type": "string",
      "description": "The token to be used for the next set of paginated results."
    },
    "runtime": {
      "type": "string",
      "description": "The runtime to be used by the core device. The runtime can be: aws_nucleus_classic aws_nucleus_lite"
    }
  }
}