AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RestoreTableFromClusterSnapshot operation. Creates 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Redshift.AmazonRedshiftRequest
      Amazon.Redshift.Model.RestoreTableFromClusterSnapshotRequest

Namespace: Amazon.Redshift.Model
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public class RestoreTableFromClusterSnapshotRequest : AmazonRedshiftRequest
         IAmazonWebServiceRequest

The RestoreTableFromClusterSnapshotRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ClusterIdentifier System.String

Gets and sets the property ClusterIdentifier.

The identifier of the Amazon Redshift cluster to restore the table to.

Public Property EnableCaseSensitiveIdentifier System.Boolean

Gets and sets the property EnableCaseSensitiveIdentifier.

Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false (default), the names are not case sensitive.

Public Property NewTableName System.String

Gets and sets the property NewTableName.

The name of the table to create as a result of the current request.

Public Property SnapshotIdentifier System.String

Gets and sets the property SnapshotIdentifier.

The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.

Public Property SourceDatabaseName System.String

Gets and sets the property SourceDatabaseName.

The name of the source database that contains the table to restore from.

Public Property SourceSchemaName System.String

Gets and sets the property SourceSchemaName.

The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.

Public Property SourceTableName System.String

Gets and sets the property SourceTableName.

The name of the source table to restore from.

Public Property TargetDatabaseName System.String

Gets and sets the property TargetDatabaseName.

The name of the database to restore the table to.

Public Property TargetSchemaName System.String

Gets and sets the property TargetSchemaName.

The name of the schema to restore the table to.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5