{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-cancel-steps-input-schema.json",
  "title": "CancelStepsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-step-api-openapi.yml#/components/schemas/CancelStepsInput",
  "type": "object",
  "properties": {
    "ClusterId": {
      "type": "string",
      "description": "The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs."
    },
    "StepIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster."
    },
    "StepCancellationOption": {
      "type": "string",
      "enum": [
        "SEND_INTERRUPT",
        "TERMINATE_PROCESS"
      ],
      "description": "The option to choose to cancel RUNNING steps. By default, the value is SEND_INTERRUPT."
    }
  },
  "required": [
    "ClusterId",
    "StepIds"
  ]
}