{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-list-imports-output-schema.json",
  "title": "ListImportsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-exports-imports-api-openapi.yml#/components/schemas/ListImportsOutput",
  "type": "object",
  "properties": {
    "ImportSummaryList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportSummary"
      },
      "description": "A list of ImportSummary objects."
    },
    "NextToken": {
      "type": "string",
      "description": "If this value is returned, there are additional results to be displayed. To retrieve them, call ListImports again, with NextToken set to this value."
    }
  },
  "$defs": {
    "ImportSummary": {
      "type": "object",
      "properties": {
        "ImportArn": {
          "type": "string",
          "description": "The Amazon Resource Number (ARN) corresponding to the import request."
        },
        "ImportStatus": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "COMPLETED",
            "CANCELLING",
            "CANCELLED",
            "FAILED"
          ],
          "description": "The status of the import operation."
        },
        "TableArn": {
          "type": "string",
          "description": "The Amazon Resource Number (ARN) of the table being imported into."
        },
        "S3BucketSource": {
          "$ref": "#/$defs/S3BucketSource"
        },
        "CloudWatchLogGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this import task."
        },
        "InputFormat": {
          "type": "string",
          "enum": [
            "DYNAMODB_JSON",
            "ION",
            "CSV"
          ],
          "description": "The format of the source data. Valid values are CSV, DYNAMODB_JSON or ION."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which this import task began."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which this import task ended."
        }
      }
    },
    "S3BucketSource": {
      "type": "object",
      "properties": {
        "S3BucketOwner": {
          "type": "string",
          "description": "The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional."
        },
        "S3Bucket": {
          "type": "string",
          "description": "The S3 bucket that is being imported from."
        },
        "S3KeyPrefix": {
          "type": "string",
          "description": "The key prefix shared by all S3 Objects that are being imported."
        }
      },
      "required": [
        "S3Bucket"
      ]
    }
  }
}