{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-emr-serverless-cancel-job-run-request-schema.json",
  "title": "EmrServerlessCancelJobRunRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-jobruns-api-openapi.yml#/components/schemas/EmrServerlessCancelJobRunRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The ID of the application on which the job run will be canceled."
    },
    "jobRunId": {
      "type": "string",
      "description": "The ID of the job run to cancel."
    },
    "shutdownGracePeriodInSeconds": {
      "type": "integer",
      "description": "The duration in seconds to wait before forcefully terminating the job after cancellation is requested."
    }
  },
  "required": [
    "applicationId",
    "jobRunId"
  ]
}