{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-cancel-data-repository-task-response-schema.json",
  "title": "CancelDataRepositoryTaskResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-data-repository-task-api-openapi.yml#/components/schemas/CancelDataRepositoryTaskResponse",
  "type": "object",
  "properties": {
    "Lifecycle": {
      "type": "string",
      "enum": [
        "PENDING",
        "EXECUTING",
        "FAILED",
        "SUCCEEDED",
        "CANCELED",
        "CANCELING"
      ],
      "description": "The lifecycle status of the data repository task, as follows: PENDING - Amazon FSx has not started the task. EXECUTING - Amazon FSx is processing the task. FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. SUCCEEDED - FSx completed the task successfully. CANCELED - Amazon FSx canceled the task and it did not complete. CANCELING - FSx is in process of canceling the task."
    },
    "TaskId": {
      "type": "string",
      "description": "The ID of the task being canceled."
    }
  }
}