Skip to content

TableRestoreStatus

Source code in docs_src/capo_redshift_serverless/types/table_restore_status.py
class TableRestoreStatus(TypedDict, closed=True):
    table_restore_request_id: NotRequired["str"]
    """<p>The ID of the RestoreTableFromSnapshot request.</p>"""
    status: NotRequired["str"]
    """<p>A value that describes the current state of the table restore request. Possible values are <code>SUCCEEDED</code>, <code>FAILED</code>, <code>CANCELED</code>, <code>PENDING</code>, and <code>IN_PROGRESS</code>.</p>"""
    message: NotRequired["str"]
    """<p>A message that explains the returned status. For example, if the status of the operation is <code>FAILED</code>, the message explains why the operation failed.</p>"""
    request_time: NotRequired["datetime.datetime"]
    """<p>The time that the table restore request was made, in Universal Coordinated Time (UTC).</p>"""
    namespace_name: NotRequired["str"]
    """<p>The namespace of the table being restored from.</p>"""
    workgroup_name: NotRequired["str"]
    """<p>The name of the workgroup being restored from.</p>"""
    snapshot_name: NotRequired["str"]
    """<p>The name of the snapshot being restored from.</p>"""
    progress_in_mega_bytes: NotRequired["int"]
    """<p>The amount of data restored to the new table so far, in megabytes (MB).</p>"""
    total_data_in_mega_bytes: NotRequired["int"]
    """<p>The total amount of data to restore to the new table, in megabytes (MB).</p>"""
    source_database_name: NotRequired["str"]
    """<p>The name of the source database being restored from.</p>"""
    source_schema_name: NotRequired["str"]
    """<p>The name of the source schema being restored from.</p>"""
    source_table_name: NotRequired["str"]
    """<p>The name of the source table being restored from.</p>"""
    target_database_name: NotRequired["str"]
    """<p>The name of the database to restore to.</p>"""
    target_schema_name: NotRequired["str"]
    """<p>The name of the schema to restore to.</p>"""
    new_table_name: NotRequired["str"]
    """<p>The name of the table to create from the restore operation.</p>"""
    recovery_point_id: NotRequired["str"]
    """<p>The ID of the recovery point being restored from.</p>"""

message instance-attribute

message: NotRequired[str]

A message that explains the returned status. For example, if the status of the operation is FAILED, the message explains why the operation failed.

namespace_name instance-attribute

namespace_name: NotRequired[str]

The namespace of the table being restored from.

new_table_name instance-attribute

new_table_name: NotRequired[str]

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

progress_in_mega_bytes instance-attribute

progress_in_mega_bytes: NotRequired[int]

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

recovery_point_id instance-attribute

recovery_point_id: NotRequired[str]

The ID of the recovery point being restored from.

request_time instance-attribute

request_time: NotRequired[datetime]

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

snapshot_name instance-attribute

snapshot_name: NotRequired[str]

The name of the snapshot being restored from.

source_database_name instance-attribute

source_database_name: NotRequired[str]

The name of the source database being restored from.

source_schema_name instance-attribute

source_schema_name: NotRequired[str]

The name of the source schema being restored from.

source_table_name instance-attribute

source_table_name: NotRequired[str]

The name of the source table being restored from.

status instance-attribute

status: NotRequired[str]

A value that describes the current state of the table restore request. Possible values are SUCCEEDED, FAILED, CANCELED, PENDING, and IN_PROGRESS.

table_restore_request_id instance-attribute

table_restore_request_id: NotRequired[str]

The ID of the RestoreTableFromSnapshot request.

target_database_name instance-attribute

target_database_name: NotRequired[str]

The name of the database to restore to.

target_schema_name instance-attribute

target_schema_name: NotRequired[str]

The name of the schema to restore to.

total_data_in_mega_bytes instance-attribute

total_data_in_mega_bytes: NotRequired[int]

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

workgroup_name instance-attribute

workgroup_name: NotRequired[str]

The name of the workgroup being restored from.