{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-update-virtual-cluster-request-schema.json",
  "title": "UpdateVirtualClusterRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-virtualclusters-api-openapi.yml#/components/schemas/UpdateVirtualClusterRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the virtual cluster to update."
    },
    "schedulerConfiguration": {
      "$ref": "#/$defs/SchedulerConfiguration"
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error."
    }
  },
  "required": [
    "id",
    "clientToken"
  ],
  "$defs": {
    "SchedulerConfiguration": {
      "type": "object",
      "properties": {
        "maxInQueueJobRuns": {
          "type": "integer",
          "description": "The maximum number of job runs that can be in the PENDING or SUBMITTED state at any time for the virtual cluster. When the queue is full, the service rejects StartJobRun requests with a ValidationException. If you omit this field, the service applies no queue-depth limit."
        },
        "maxConcurrentJobRuns": {
          "type": "integer",
          "description": "The maximum number of job runs that can be in the RUNNING state at any time for the virtual cluster. As running slots free up, queued job runs start automatically. If you omit this field, the service applies no concurrency limit."
        }
      }
    }
  }
}