{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-cancel-steps-output-schema.json",
  "title": "CancelStepsOutput",
  "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/CancelStepsOutput",
  "type": "object",
  "properties": {
    "CancelStepsInfoList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CancelStepsInfo"
      },
      "description": "A list of CancelStepsInfo, which shows the status of specified cancel requests for each StepID specified."
    }
  },
  "$defs": {
    "CancelStepsInfo": {
      "type": "object",
      "properties": {
        "StepId": {
          "type": "string",
          "description": "The encrypted StepId of a step."
        },
        "Status": {
          "type": "string",
          "enum": [
            "SUBMITTED",
            "FAILED"
          ],
          "description": "The status of a CancelSteps Request. The value may be SUBMITTED or FAILED."
        },
        "Reason": {
          "type": "string",
          "description": "The reason for the failure if the CancelSteps request fails."
        }
      }
    }
  }
}