{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-cancel-import-task-output-schema.json",
  "title": "CancelImportTaskOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-import-tasks-api-openapi.yml#/components/schemas/CancelImportTaskOutput",
  "type": "object",
  "properties": {
    "graphId": {
      "type": "string",
      "description": "The unique identifier of the Neptune Analytics graph."
    },
    "taskId": {
      "type": "string",
      "description": "The unique identifier of the import task."
    },
    "source": {
      "type": "string",
      "description": "A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot."
    },
    "format": {
      "type": "string",
      "enum": [
        "CSV",
        "OPEN_CYPHER",
        "PARQUET",
        "NTRIPLES"
      ],
      "description": "Specifies the format of S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identifies the openCypher load format."
    },
    "parquetType": {
      "type": "string",
      "enum": [
        "COLUMNAR"
      ],
      "description": "The parquet type of the cancelled import task."
    },
    "roleArn": {
      "type": "string",
      "description": "The ARN of the IAM role that will allow access to the data that is to be imported."
    },
    "status": {
      "type": "string",
      "enum": [
        "INITIALIZING",
        "EXPORTING",
        "ANALYZING_DATA",
        "IMPORTING",
        "REPROVISIONING",
        "ROLLING_BACK",
        "SUCCEEDED",
        "FAILED",
        "CANCELLING",
        "CANCELLED",
        "DELETED"
      ],
      "description": "Current status of the task. Status is CANCELLING when the import task is cancelled."
    }
  },
  "required": [
    "taskId",
    "source",
    "roleArn",
    "status"
  ]
}