{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-table-restore-status-message-schema.json",
  "title": "TableRestoreStatusMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-table-restore-status-api-openapi.yml#/components/schemas/TableRestoreStatusMessage",
  "type": "object",
  "properties": {
    "TableRestoreStatusDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TableRestoreStatus"
      },
      "description": "A list of status details for one or more table restore requests."
    },
    "Marker": {
      "type": "string",
      "description": "A pagination token that can be used in a subsequent DescribeTableRestoreStatus request."
    }
  },
  "$defs": {
    "TableRestoreStatus": {
      "type": "object",
      "properties": {
        "TableRestoreRequestId": {
          "type": "string",
          "description": "The unique identifier for the table restore request."
        },
        "Status": {
          "type": "string",
          "enum": [
            "PENDING",
            "IN_PROGRESS",
            "SUCCEEDED",
            "FAILED",
            "CANCELED"
          ],
          "description": "A value that describes the current state of the table restore request. Valid Values: SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS"
        },
        "Message": {
          "type": "string",
          "description": "A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS."
        },
        "RequestTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the table restore request was made, in Universal Coordinated Time (UTC)."
        },
        "ProgressInMegaBytes": {
          "type": "integer",
          "description": "The amount of data restored to the new table so far, in megabytes (MB)."
        },
        "TotalDataInMegaBytes": {
          "type": "integer",
          "description": "The total amount of data to restore to the new table, in megabytes (MB)."
        },
        "ClusterIdentifier": {
          "type": "string",
          "description": "The identifier of the Amazon Redshift cluster that the table is being restored to."
        },
        "SnapshotIdentifier": {
          "type": "string",
          "description": "The identifier of the snapshot that the table is being restored from."
        },
        "SourceDatabaseName": {
          "type": "string",
          "description": "The name of the source database that contains the table being restored."
        },
        "SourceSchemaName": {
          "type": "string",
          "description": "The name of the source schema that contains the table being restored."
        },
        "SourceTableName": {
          "type": "string",
          "description": "The name of the source table being restored."
        },
        "TargetDatabaseName": {
          "type": "string",
          "description": "The name of the database to restore the table to."
        },
        "TargetSchemaName": {
          "type": "string",
          "description": "The name of the schema to restore the table to."
        },
        "NewTableName": {
          "type": "string",
          "description": "The name of the table to create as a result of the table restore request."
        }
      }
    }
  }
}