{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-update-task-request-schema.json",
  "title": "UpdateTaskRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-tasks-api-openapi.yml#/components/schemas/UpdateTaskRequest",
  "type": "object",
  "properties": {
    "farmId": {
      "type": "string",
      "description": "The farm ID to update."
    },
    "queueId": {
      "type": "string",
      "description": "The queue ID to update."
    },
    "jobId": {
      "type": "string",
      "description": "The job ID to update."
    },
    "stepId": {
      "type": "string",
      "description": "The step ID to update."
    },
    "taskId": {
      "type": "string",
      "description": "The task ID to update."
    },
    "clientToken": {
      "type": "string",
      "description": "The unique token which the server uses to recognize retries of the same request."
    },
    "targetRunStatus": {
      "type": "string",
      "enum": [
        "READY",
        "FAILED",
        "SUCCEEDED",
        "CANCELED",
        "SUSPENDED",
        "PENDING"
      ],
      "description": "The run status with which to start the task."
    }
  },
  "required": [
    "farmId",
    "queueId",
    "jobId",
    "stepId",
    "taskId",
    "targetRunStatus"
  ]
}