{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-list-ingestions-response-schema.json",
  "title": "ListIngestionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-ingestions-api-openapi.yml#/components/schemas/ListIngestionsResponse",
  "type": "object",
  "properties": {
    "Ingestions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Ingestion"
      },
      "description": "A list of the ingestions."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of results, or null if there are no more results."
    },
    "RequestId": {
      "type": "string",
      "description": "The Amazon Web Services request ID for this operation."
    },
    "Status": {
      "type": "integer",
      "description": "The HTTP status of the request."
    }
  },
  "$defs": {
    "ErrorInfo": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "FAILURE_TO_ASSUME_ROLE",
            "INGESTION_SUPERSEDED",
            "INGESTION_CANCELED",
            "DATA_SET_DELETED",
            "DATA_SET_NOT_SPICE",
            "S3_UPLOADED_FILE_DELETED",
            "S3_MANIFEST_ERROR",
            "DATA_TOLERANCE_EXCEPTION",
            "SPICE_TABLE_NOT_FOUND",
            "DATA_SET_SIZE_LIMIT_EXCEEDED",
            "ROW_SIZE_LIMIT_EXCEEDED",
            "ACCOUNT_CAPACITY_LIMIT_EXCEEDED",
            "CUSTOMER_ERROR",
            "DATA_SOURCE_NOT_FOUND",
            "IAM_ROLE_NOT_AVAILABLE",
            "CONNECTION_FAILURE",
            "SQL_TABLE_NOT_FOUND",
            "PERMISSION_DENIED",
            "SSL_CERTIFICATE_VALIDATION_FAILURE",
            "OAUTH_TOKEN_FAILURE",
            "SOURCE_API_LIMIT_EXCEEDED_FAILURE",
            "PASSWORD_AUTHENTICATION_FAILURE",
            "SQL_SCHEMA_MISMATCH_ERROR",
            "INVALID_DATE_FORMAT",
            "INVALID_DATAPREP_SYNTAX",
            "SOURCE_RESOURCE_LIMIT_EXCEEDED",
            "SQL_INVALID_PARAMETER_VALUE",
            "QUERY_TIMEOUT",
            "SQL_NUMERIC_OVERFLOW",
            "UNRESOLVABLE_HOST",
            "UNROUTABLE_HOST",
            "SQL_EXCEPTION",
            "S3_FILE_INACCESSIBLE",
            "IOT_FILE_NOT_FOUND",
            "IOT_DATA_SET_FILE_EMPTY",
            "INVALID_DATA_SOURCE_CONFIG",
            "DATA_SOURCE_AUTH_FAILED",
            "DATA_SOURCE_CONNECTION_FAILED",
            "FAILURE_TO_PROCESS_JSON_FILE",
            "INTERNAL_SERVICE_ERROR",
            "REFRESH_SUPPRESSED_BY_EDIT",
            "PERMISSION_NOT_FOUND",
            "ELASTICSEARCH_CURSOR_NOT_ENABLED",
            "CURSOR_NOT_ENABLED",
            "DUPLICATE_COLUMN_NAMES_FOUND"
          ],
          "description": "Error type."
        },
        "Message": {
          "type": "string",
          "description": "Error message."
        }
      }
    },
    "Ingestion": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource."
        },
        "IngestionId": {
          "type": "string",
          "description": "Ingestion ID."
        },
        "IngestionStatus": {
          "type": "string",
          "enum": [
            "INITIALIZED",
            "QUEUED",
            "RUNNING",
            "FAILED",
            "COMPLETED",
            "CANCELLED"
          ],
          "description": "Ingestion status."
        },
        "ErrorInfo": {
          "$ref": "#/$defs/ErrorInfo"
        },
        "RowInfo": {
          "$ref": "#/$defs/RowInfo"
        },
        "QueueInfo": {
          "$ref": "#/$defs/QueueInfo"
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that this ingestion started."
        },
        "IngestionTimeInSeconds": {
          "type": "integer",
          "description": "The time that this ingestion took, measured in seconds."
        },
        "IngestionSizeInBytes": {
          "type": "integer",
          "description": "The size of the data ingested, in bytes."
        },
        "RequestSource": {
          "type": "string",
          "enum": [
            "MANUAL",
            "SCHEDULED"
          ],
          "description": "Event source for this ingestion."
        },
        "RequestType": {
          "type": "string",
          "enum": [
            "INITIAL_INGESTION",
            "EDIT",
            "INCREMENTAL_REFRESH",
            "FULL_REFRESH"
          ],
          "description": "Type of this ingestion."
        }
      },
      "required": [
        "Arn",
        "IngestionStatus",
        "CreatedTime"
      ]
    },
    "QueueInfo": {
      "type": "object",
      "properties": {
        "WaitingOnIngestion": {
          "type": "string",
          "description": "The ID of the queued ingestion."
        },
        "QueuedIngestion": {
          "type": "string",
          "description": "The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing ingestion to complete."
        }
      },
      "required": [
        "WaitingOnIngestion",
        "QueuedIngestion"
      ]
    },
    "RowInfo": {
      "type": "object",
      "properties": {
        "RowsIngested": {
          "type": "integer",
          "description": "The number of rows that were ingested."
        },
        "RowsDropped": {
          "type": "integer",
          "description": "The number of rows that were not ingested."
        },
        "TotalRowsInDataset": {
          "type": "integer",
          "description": "The total number of rows in the dataset."
        }
      }
    }
  }
}