AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RestoreTableFromClusterSnapshotInput

import "github.com/aws/aws-sdk-go/service/redshift"

type RestoreTableFromClusterSnapshotInput struct { ClusterIdentifier *string `type:"string" required:"true"` NewTableName *string `type:"string" required:"true"` SnapshotIdentifier *string `type:"string" required:"true"` SourceDatabaseName *string `type:"string" required:"true"` SourceSchemaName *string `type:"string"` SourceTableName *string `type:"string" required:"true"` TargetDatabaseName *string `type:"string"` TargetSchemaName *string `type:"string"` }

ClusterIdentifier

Type: *string

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

ClusterIdentifier is a required field

NewTableName

Type: *string

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

NewTableName is a required field

SnapshotIdentifier

Type: *string

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.

SnapshotIdentifier is a required field

SourceDatabaseName

Type: *string

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

SourceDatabaseName is a required field

SourceSchemaName

Type: *string

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.

SourceTableName

Type: *string

The name of the source table to restore from.

SourceTableName is a required field

TargetDatabaseName

Type: *string

The name of the database to restore the table to.

TargetSchemaName

Type: *string

The name of the schema to restore the table to.

Method

GoString

func (s RestoreTableFromClusterSnapshotInput) GoString() string

GoString returns the string representation

SetClusterIdentifier

func (s *RestoreTableFromClusterSnapshotInput) SetClusterIdentifier(v string) *RestoreTableFromClusterSnapshotInput

SetClusterIdentifier sets the ClusterIdentifier field's value.

SetNewTableName

func (s *RestoreTableFromClusterSnapshotInput) SetNewTableName(v string) *RestoreTableFromClusterSnapshotInput

SetNewTableName sets the NewTableName field's value.

SetSnapshotIdentifier

func (s *RestoreTableFromClusterSnapshotInput) SetSnapshotIdentifier(v string) *RestoreTableFromClusterSnapshotInput

SetSnapshotIdentifier sets the SnapshotIdentifier field's value.

SetSourceDatabaseName

func (s *RestoreTableFromClusterSnapshotInput) SetSourceDatabaseName(v string) *RestoreTableFromClusterSnapshotInput

SetSourceDatabaseName sets the SourceDatabaseName field's value.

SetSourceSchemaName

func (s *RestoreTableFromClusterSnapshotInput) SetSourceSchemaName(v string) *RestoreTableFromClusterSnapshotInput

SetSourceSchemaName sets the SourceSchemaName field's value.

SetSourceTableName

func (s *RestoreTableFromClusterSnapshotInput) SetSourceTableName(v string) *RestoreTableFromClusterSnapshotInput

SetSourceTableName sets the SourceTableName field's value.

SetTargetDatabaseName

func (s *RestoreTableFromClusterSnapshotInput) SetTargetDatabaseName(v string) *RestoreTableFromClusterSnapshotInput

SetTargetDatabaseName sets the TargetDatabaseName field's value.

SetTargetSchemaName

func (s *RestoreTableFromClusterSnapshotInput) SetTargetSchemaName(v string) *RestoreTableFromClusterSnapshotInput

SetTargetSchemaName sets the TargetSchemaName field's value.

String

func (s RestoreTableFromClusterSnapshotInput) String() string

String returns the string representation

Validate

func (s *RestoreTableFromClusterSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: