Values.RestoreTableFromClusterSnapshotResultSourceCreates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from. You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot. You can't use this operation to restore tables with interleaved sort keys.
type restoreTableFromClusterSnapshotResult = {tableRestoreStatus : TableRestoreStatus.t option;}and t = {restoreTableFromClusterSnapshotResult : restoreTableFromClusterSnapshotResult;responseMetaData : responseMetaData;}type error = [ | `ClusterNotFoundFault of ClusterNotFoundFault.t| `ClusterSnapshotNotFoundFault of ClusterSnapshotNotFoundFault.t| `InProgressTableRestoreQuotaExceededFault of
InProgressTableRestoreQuotaExceededFault.t| `InvalidClusterSnapshotStateFault of InvalidClusterSnapshotStateFault.t| `InvalidClusterStateFault of InvalidClusterStateFault.t| `InvalidTableRestoreArgumentFault of InvalidTableRestoreArgumentFault.t| `UnsupportedOperationFault of UnsupportedOperationFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ClusterNotFoundFault of unit
| `ClusterSnapshotNotFoundFault of unit
| `InProgressTableRestoreQuotaExceededFault of unit
| `InvalidClusterSnapshotStateFault of unit
| `InvalidClusterStateFault of unit
| `InvalidTableRestoreArgumentFault of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationFault of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ClusterNotFoundFault of unit
| `ClusterSnapshotNotFoundFault of unit
| `InProgressTableRestoreQuotaExceededFault of unit
| `InvalidClusterSnapshotStateFault of unit
| `InvalidClusterStateFault of unit
| `InvalidTableRestoreArgumentFault of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationFault of unit ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Long of LongOptional.t
| `String of String_.t
| `Timestamp of TStamp.t ])
list ])
list ])
list ]