{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-cancel-import-task-response-schema.json",
  "title": "CancelImportTaskResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-import-task-api-openapi.yml#/components/schemas/CancelImportTaskResponse",
  "type": "object",
  "properties": {
    "importId": {
      "type": "string",
      "description": "The ID of the cancelled import task."
    },
    "importStatistics": {
      "$ref": "#/$defs/ImportStatistics"
    },
    "importStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "CANCELLED",
        "COMPLETED",
        "FAILED"
      ],
      "description": "The final status of the import task. This will be set to CANCELLED."
    },
    "creationTime": {
      "type": "integer",
      "description": "The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC."
    },
    "lastUpdatedTime": {
      "type": "integer",
      "description": "The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC."
    }
  },
  "$defs": {
    "ImportStatistics": {
      "type": "object",
      "properties": {
        "bytesImported": {
          "type": "integer",
          "description": "The total number of bytes that have been imported to the managed log group."
        }
      }
    }
  }
}