{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-get-import-file-task-response-schema.json",
  "title": "GetImportFileTaskResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-operations-api-openapi.yml#/components/schemas/GetImportFileTaskResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The import file task id returned in the response of StartImportFileTask."
    },
    "status": {
      "type": "string",
      "description": "Status of import file task."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Start time of the import task."
    },
    "inputS3Bucket": {
      "type": "string",
      "description": "The S3 bucket where import file is located."
    },
    "inputS3Key": {
      "type": "string",
      "description": "The Amazon S3 key name of the import file."
    },
    "statusReportS3Bucket": {
      "type": "string",
      "description": "The S3 bucket name for status report of import task."
    },
    "statusReportS3Key": {
      "type": "string",
      "description": "The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not."
    },
    "completionTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the import task completed."
    },
    "numberOfRecordsSuccess": {
      "type": "integer",
      "description": "The number of records successfully imported."
    },
    "numberOfRecordsFailed": {
      "type": "integer",
      "description": "The number of records that failed to be imported."
    },
    "importName": {
      "type": "string",
      "description": "The name of the import task given in StartImportFileTask."
    }
  }
}