get_table_restore_status
(**kwargs)¶Returns information about a TableRestoreStatus
object.
See also: AWS API Documentation
Request Syntax
response = client.get_table_restore_status(
tableRestoreRequestId='string'
)
[REQUIRED]
The ID of the RestoreTableFromSnapshot
request to return status for.
{
'tableRestoreStatus': {
'message': 'string',
'namespaceName': 'string',
'newTableName': 'string',
'progressInMegaBytes': 123,
'requestTime': datetime(2015, 1, 1),
'snapshotName': 'string',
'sourceDatabaseName': 'string',
'sourceSchemaName': 'string',
'sourceTableName': 'string',
'status': 'string',
'tableRestoreRequestId': 'string',
'targetDatabaseName': 'string',
'targetSchemaName': 'string',
'totalDataInMegaBytes': 123,
'workgroupName': 'string'
}
}
Response Structure
The returned TableRestoreStatus
object that contains information about the status of your RestoreTableFromSnapshot
request.
A description of the status of the table restore request. Status values include SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.
The namespace of the table being restored from.
The name of the table to create from the restore operation.
The amount of data restored to the new table so far, in megabytes (MB).
The time that the table restore request was made, in Universal Coordinated Time (UTC).
The name of the snapshot being restored from.
The name of the source database being restored from.
The name of the source schema being restored from.
The name of the source table being restored from.
A value that describes the current state of the table restore request. Possible values include SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.
The ID of the RestoreTableFromSnapshot request.
The name of the database to restore to.
The name of the schema to restore to.
The total amount of data to restore to the new table, in megabytes (MB).
The name of the workgroup being restored from.
Exceptions
RedshiftServerless.Client.exceptions.ResourceNotFoundException
RedshiftServerless.Client.exceptions.ValidationException