{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-restore-table-from-snapshot-response-schema.json",
  "title": "RestoreTableFromSnapshotResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-table-api-openapi.yml#/components/schemas/RestoreTableFromSnapshotResponse",
  "type": "object",
  "properties": {
    "tableRestoreStatus": {
      "$ref": "#/$defs/RedshiftServerlessTableRestoreStatus"
    }
  },
  "$defs": {
    "RedshiftServerlessTableRestoreStatus": {
      "type": "object",
      "properties": {
        "tableRestoreRequestId": {
          "type": "string",
          "description": "The ID of the RestoreTableFromSnapshot request."
        },
        "status": {
          "type": "string",
          "description": "A value that describes the current state of the table restore request. Possible values are SUCCEEDED, FAILED, CANCELED, PENDING, and IN_PROGRESS."
        },
        "message": {
          "type": "string",
          "description": "A message that explains the returned status. For example, if the status of the operation is FAILED, the message explains why the operation failed."
        },
        "requestTime": {
          "type": "string",
          "description": "The time that the table restore request was made, in Universal Coordinated Time (UTC)."
        },
        "namespaceName": {
          "type": "string",
          "description": "The namespace of the table being restored from."
        },
        "workgroupName": {
          "type": "string",
          "description": "The name of the workgroup being restored from."
        },
        "snapshotName": {
          "type": "string",
          "description": "The name of the snapshot being restored from."
        },
        "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)."
        },
        "sourceDatabaseName": {
          "type": "string",
          "description": "The name of the source database being restored from."
        },
        "sourceSchemaName": {
          "type": "string",
          "description": "The name of the source schema being restored from."
        },
        "sourceTableName": {
          "type": "string",
          "description": "The name of the source table being restored from."
        },
        "targetDatabaseName": {
          "type": "string",
          "description": "The name of the database to restore to."
        },
        "targetSchemaName": {
          "type": "string",
          "description": "The name of the schema to restore to."
        },
        "newTableName": {
          "type": "string",
          "description": "The name of the table to create from the restore operation."
        },
        "recoveryPointId": {
          "type": "string",
          "description": "The ID of the recovery point being restored from."
        }
      }
    }
  }
}