libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Redshift.Types.TableRestoreStatus

Description

 
Synopsis

Documentation

data TableRestoreStatus Source #

Describes the status of a RestoreTableFromClusterSnapshot operation.

See: newTableRestoreStatus smart constructor.

Constructors

TableRestoreStatus' 

Fields

Instances

Instances details
Eq TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

Read TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

Show TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

Generic TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

Associated Types

type Rep TableRestoreStatus :: Type -> Type #

NFData TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

Methods

rnf :: TableRestoreStatus -> () #

Hashable TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

FromXML TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

type Rep TableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.TableRestoreStatus

type Rep TableRestoreStatus = D1 ('MetaData "TableRestoreStatus" "Amazonka.Redshift.Types.TableRestoreStatus" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "TableRestoreStatus'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableRestoreStatusType)) :*: (S1 ('MetaSel ('Just "targetSchemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "sourceDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tableRestoreRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "newTableName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "sourceSchemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: ((S1 ('MetaSel ('Just "sourceTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalDataInMegaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "progressInMegaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newTableRestoreStatus :: TableRestoreStatus Source #

Create a value of TableRestoreStatus 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:status:TableRestoreStatus', tableRestoreStatus_status - A value that describes the current state of the table restore request.

Valid Values: SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS

$sel:targetSchemaName:TableRestoreStatus', tableRestoreStatus_targetSchemaName - The name of the schema to restore the table to.

$sel:snapshotIdentifier:TableRestoreStatus', tableRestoreStatus_snapshotIdentifier - The identifier of the snapshot that the table is being restored from.

$sel:sourceDatabaseName:TableRestoreStatus', tableRestoreStatus_sourceDatabaseName - The name of the source database that contains the table being restored.

$sel:tableRestoreRequestId:TableRestoreStatus', tableRestoreStatus_tableRestoreRequestId - The unique identifier for the table restore request.

$sel:newTableName':TableRestoreStatus', tableRestoreStatus_newTableName - The name of the table to create as a result of the table restore request.

$sel:targetDatabaseName:TableRestoreStatus', tableRestoreStatus_targetDatabaseName - The name of the database to restore the table to.

$sel:sourceSchemaName:TableRestoreStatus', tableRestoreStatus_sourceSchemaName - The name of the source schema that contains the table being restored.

$sel:clusterIdentifier:TableRestoreStatus', tableRestoreStatus_clusterIdentifier - The identifier of the Amazon Redshift cluster that the table is being restored to.

$sel:requestTime:TableRestoreStatus', tableRestoreStatus_requestTime - The time that the table restore request was made, in Universal Coordinated Time (UTC).

$sel:sourceTableName:TableRestoreStatus', tableRestoreStatus_sourceTableName - The name of the source table being restored.

$sel:totalDataInMegaBytes:TableRestoreStatus', tableRestoreStatus_totalDataInMegaBytes - The total amount of data to restore to the new table, in megabytes (MB).

$sel:progressInMegaBytes:TableRestoreStatus', tableRestoreStatus_progressInMegaBytes - The amount of data restored to the new table so far, in megabytes (MB).

$sel:message:TableRestoreStatus', tableRestoreStatus_message - A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType) Source #

A value that describes the current state of the table restore request.

Valid Values: SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS

tableRestoreStatus_targetSchemaName :: Lens' TableRestoreStatus (Maybe Text) Source #

The name of the schema to restore the table to.

tableRestoreStatus_snapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text) Source #

The identifier of the snapshot that the table is being restored from.

tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text) Source #

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

tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text) Source #

The unique identifier for the table restore request.

tableRestoreStatus_newTableName :: Lens' TableRestoreStatus (Maybe Text) Source #

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

tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text) Source #

The name of the database to restore the table to.

tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text) Source #

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

tableRestoreStatus_clusterIdentifier :: Lens' TableRestoreStatus (Maybe Text) Source #

The identifier of the Amazon Redshift cluster that the table is being restored to.

tableRestoreStatus_requestTime :: Lens' TableRestoreStatus (Maybe UTCTime) Source #

The time that the table restore request was made, in Universal Coordinated Time (UTC).

tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text) Source #

The name of the source table being restored.

tableRestoreStatus_totalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) Source #

The total amount of data to restore to the new table, in megabytes (MB).

tableRestoreStatus_progressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) Source #

The amount of data restored to the new table so far, in megabytes (MB).

tableRestoreStatus_message :: Lens' TableRestoreStatus (Maybe Text) Source #

A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.