{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-parallel-computing-service/json-schema/amazon-parallel-computing-service-list-compute-node-groups-response-schema.json",
  "title": "ListComputeNodeGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-parallel-computing-service-listcomputenodegroups-api-openapi.yml#/components/schemas/ListComputeNodeGroupsResponse",
  "type": "object",
  "properties": {
    "computeNodeGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComputeNodeGroupSummary"
      },
      "description": "The list of compute node groups for the cluster."
    },
    "nextToken": {
      "type": "string",
      "description": "The value of nextToken is a unique pagination token for each page of results returned. If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an HTTP 400 InvalidToken error."
    }
  },
  "required": [
    "computeNodeGroups"
  ],
  "$defs": {
    "ComputeNodeGroupSummary": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name that identifies the compute node group."
        },
        "id": {
          "type": "string",
          "description": "The generated unique ID of the compute node group."
        },
        "arn": {
          "type": "string",
          "description": "The unique Amazon Resource Name (ARN) of the compute node group."
        },
        "clusterId": {
          "type": "string",
          "description": "The ID of the cluster of the compute node group."
        },
        "createdAt": {
          "type": "string",
          "description": "The date and time the resource was created."
        },
        "modifiedAt": {
          "type": "string",
          "description": "The date and time the resource was modified."
        },
        "status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "UPDATING",
            "DELETING",
            "CREATE_FAILED",
            "DELETE_FAILED",
            "UPDATE_FAILED",
            "DELETED",
            "SUSPENDING",
            "SUSPENDED",
            "RESUMING"
          ],
          "description": "The provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group. The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Gui"
        }
      },
      "required": [
        "name",
        "id",
        "arn",
        "clusterId",
        "createdAt",
        "modifiedAt",
        "status"
      ]
    }
  }
}