amazonka-redshift-serverless-2.0: Amazon Redshift Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Description

Restores a table from a snapshot to your Amazon Redshift Serverless instance.

Synopsis

Creating a Request

data RestoreTableFromSnapshot Source #

See: newRestoreTableFromSnapshot smart constructor.

Constructors

RestoreTableFromSnapshot' 

Fields

Instances

Instances details
ToJSON RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

ToHeaders RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

ToPath RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

ToQuery RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

AWSRequest RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Generic RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Associated Types

type Rep RestoreTableFromSnapshot :: Type -> Type #

Read RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Show RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

NFData RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Eq RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Hashable RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

type AWSResponse RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

type Rep RestoreTableFromSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

type Rep RestoreTableFromSnapshot = D1 ('MetaData "RestoreTableFromSnapshot" "Amazonka.RedshiftServerLess.RestoreTableFromSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "RestoreTableFromSnapshot'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "activateCaseSensitiveIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sourceSchemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetSchemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "newTableName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "sourceDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "sourceTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newRestoreTableFromSnapshot Source #

Create a value of RestoreTableFromSnapshot with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:activateCaseSensitiveIdentifier:RestoreTableFromSnapshot', restoreTableFromSnapshot_activateCaseSensitiveIdentifier - Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.

RestoreTableFromSnapshot, restoreTableFromSnapshot_sourceSchemaName - The name of the source schema that contains the table being restored.

RestoreTableFromSnapshot, restoreTableFromSnapshot_targetDatabaseName - The name of the database to restore the table to.

RestoreTableFromSnapshot, restoreTableFromSnapshot_targetSchemaName - The name of the schema to restore the table to.

RestoreTableFromSnapshot, restoreTableFromSnapshot_namespaceName - The namespace of the snapshot to restore from.

RestoreTableFromSnapshot, restoreTableFromSnapshot_newTableName - The name of the table to create from the restore operation.

RestoreTableFromSnapshot, restoreTableFromSnapshot_snapshotName - The name of the snapshot to restore the table from.

RestoreTableFromSnapshot, restoreTableFromSnapshot_sourceDatabaseName - The name of the source database that contains the table being restored.

RestoreTableFromSnapshot, restoreTableFromSnapshot_sourceTableName - The name of the source table being restored.

RestoreTableFromSnapshot, restoreTableFromSnapshot_workgroupName - The workgroup to restore the table to.

Request Lenses

restoreTableFromSnapshot_activateCaseSensitiveIdentifier :: Lens' RestoreTableFromSnapshot (Maybe Bool) Source #

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

restoreTableFromSnapshot_sourceSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) Source #

The name of the source schema that contains the table being restored.

restoreTableFromSnapshot_targetDatabaseName :: Lens' RestoreTableFromSnapshot (Maybe Text) Source #

The name of the database to restore the table to.

restoreTableFromSnapshot_targetSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) Source #

The name of the schema to restore the table to.

restoreTableFromSnapshot_namespaceName :: Lens' RestoreTableFromSnapshot Text Source #

The namespace of the snapshot to restore from.

restoreTableFromSnapshot_newTableName :: Lens' RestoreTableFromSnapshot Text Source #

The name of the table to create from the restore operation.

restoreTableFromSnapshot_snapshotName :: Lens' RestoreTableFromSnapshot Text Source #

The name of the snapshot to restore the table from.

restoreTableFromSnapshot_sourceDatabaseName :: Lens' RestoreTableFromSnapshot Text Source #

The name of the source database that contains the table being restored.

Destructuring the Response

data RestoreTableFromSnapshotResponse Source #

See: newRestoreTableFromSnapshotResponse smart constructor.

Constructors

RestoreTableFromSnapshotResponse' 

Fields

Instances

Instances details
Generic RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Associated Types

type Rep RestoreTableFromSnapshotResponse :: Type -> Type #

Read RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Show RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

NFData RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

Eq RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

type Rep RestoreTableFromSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreTableFromSnapshot

type Rep RestoreTableFromSnapshotResponse = D1 ('MetaData "RestoreTableFromSnapshotResponse" "Amazonka.RedshiftServerLess.RestoreTableFromSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "RestoreTableFromSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableRestoreStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableRestoreStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRestoreTableFromSnapshotResponse Source #

Create a value of RestoreTableFromSnapshotResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tableRestoreStatus:RestoreTableFromSnapshotResponse', restoreTableFromSnapshotResponse_tableRestoreStatus - The TableRestoreStatus object that contains the status of the restore operation.

$sel:httpStatus:RestoreTableFromSnapshotResponse', restoreTableFromSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

restoreTableFromSnapshotResponse_tableRestoreStatus :: Lens' RestoreTableFromSnapshotResponse (Maybe TableRestoreStatus) Source #

The TableRestoreStatus object that contains the status of the restore operation.