Struct aws_sdk_redshift::types::TableRestoreStatus
source · #[non_exhaustive]pub struct TableRestoreStatus {Show 14 fields
pub table_restore_request_id: Option<String>,
pub status: Option<TableRestoreStatusType>,
pub message: Option<String>,
pub request_time: Option<DateTime>,
pub progress_in_mega_bytes: Option<i64>,
pub total_data_in_mega_bytes: Option<i64>,
pub cluster_identifier: Option<String>,
pub snapshot_identifier: Option<String>,
pub source_database_name: Option<String>,
pub source_schema_name: Option<String>,
pub source_table_name: Option<String>,
pub target_database_name: Option<String>,
pub target_schema_name: Option<String>,
pub new_table_name: Option<String>,
}
Expand description
Describes the status of a RestoreTableFromClusterSnapshot
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.table_restore_request_id: Option<String>
The unique identifier for the table restore request.
status: Option<TableRestoreStatusType>
A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
message: Option<String>
A description of the status of the table restore request. Status values include SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.
request_time: Option<DateTime>
The time that the table restore request was made, in Universal Coordinated Time (UTC).
progress_in_mega_bytes: Option<i64>
The amount of data restored to the new table so far, in megabytes (MB).
total_data_in_mega_bytes: Option<i64>
The total amount of data to restore to the new table, in megabytes (MB).
cluster_identifier: Option<String>
The identifier of the Amazon Redshift cluster that the table is being restored to.
snapshot_identifier: Option<String>
The identifier of the snapshot that the table is being restored from.
source_database_name: Option<String>
The name of the source database that contains the table being restored.
source_schema_name: Option<String>
The name of the source schema that contains the table being restored.
source_table_name: Option<String>
The name of the source table being restored.
target_database_name: Option<String>
The name of the database to restore the table to.
target_schema_name: Option<String>
The name of the schema to restore the table to.
new_table_name: Option<String>
The name of the table to create as a result of the table restore request.
Implementations§
source§impl TableRestoreStatus
impl TableRestoreStatus
sourcepub fn table_restore_request_id(&self) -> Option<&str>
pub fn table_restore_request_id(&self) -> Option<&str>
The unique identifier for the table restore request.
sourcepub fn status(&self) -> Option<&TableRestoreStatusType>
pub fn status(&self) -> Option<&TableRestoreStatusType>
A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
A description of the status of the table restore request. Status values include SUCCEEDED
, FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.
sourcepub fn request_time(&self) -> Option<&DateTime>
pub fn request_time(&self) -> Option<&DateTime>
The time that the table restore request was made, in Universal Coordinated Time (UTC).
sourcepub fn progress_in_mega_bytes(&self) -> Option<i64>
pub fn progress_in_mega_bytes(&self) -> Option<i64>
The amount of data restored to the new table so far, in megabytes (MB).
sourcepub fn total_data_in_mega_bytes(&self) -> Option<i64>
pub fn total_data_in_mega_bytes(&self) -> Option<i64>
The total amount of data to restore to the new table, in megabytes (MB).
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The identifier of the Amazon Redshift cluster that the table is being restored to.
sourcepub fn snapshot_identifier(&self) -> Option<&str>
pub fn snapshot_identifier(&self) -> Option<&str>
The identifier of the snapshot that the table is being restored from.
sourcepub fn source_database_name(&self) -> Option<&str>
pub fn source_database_name(&self) -> Option<&str>
The name of the source database that contains the table being restored.
sourcepub fn source_schema_name(&self) -> Option<&str>
pub fn source_schema_name(&self) -> Option<&str>
The name of the source schema that contains the table being restored.
sourcepub fn source_table_name(&self) -> Option<&str>
pub fn source_table_name(&self) -> Option<&str>
The name of the source table being restored.
sourcepub fn target_database_name(&self) -> Option<&str>
pub fn target_database_name(&self) -> Option<&str>
The name of the database to restore the table to.
sourcepub fn target_schema_name(&self) -> Option<&str>
pub fn target_schema_name(&self) -> Option<&str>
The name of the schema to restore the table to.
sourcepub fn new_table_name(&self) -> Option<&str>
pub fn new_table_name(&self) -> Option<&str>
The name of the table to create as a result of the table restore request.
source§impl TableRestoreStatus
impl TableRestoreStatus
sourcepub fn builder() -> TableRestoreStatusBuilder
pub fn builder() -> TableRestoreStatusBuilder
Creates a new builder-style object to manufacture TableRestoreStatus
.
Trait Implementations§
source§impl Clone for TableRestoreStatus
impl Clone for TableRestoreStatus
source§fn clone(&self) -> TableRestoreStatus
fn clone(&self) -> TableRestoreStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableRestoreStatus
impl Debug for TableRestoreStatus
source§impl PartialEq for TableRestoreStatus
impl PartialEq for TableRestoreStatus
source§fn eq(&self, other: &TableRestoreStatus) -> bool
fn eq(&self, other: &TableRestoreStatus) -> bool
self
and other
values to be equal, and is used
by ==
.