Struct aws_sdk_redshift::model::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
sourceimpl 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.
sourceimpl TableRestoreStatus
impl TableRestoreStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TableRestoreStatus
Trait Implementations
sourceimpl Clone for TableRestoreStatus
impl Clone for TableRestoreStatus
sourcefn clone(&self) -> TableRestoreStatus
fn clone(&self) -> TableRestoreStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TableRestoreStatus
impl Debug for TableRestoreStatus
sourceimpl PartialEq<TableRestoreStatus> for TableRestoreStatus
impl PartialEq<TableRestoreStatus> for TableRestoreStatus
sourcefn eq(&self, other: &TableRestoreStatus) -> bool
fn eq(&self, other: &TableRestoreStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TableRestoreStatus) -> bool
fn ne(&self, other: &TableRestoreStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for TableRestoreStatus
Auto Trait Implementations
impl RefUnwindSafe for TableRestoreStatus
impl Send for TableRestoreStatus
impl Sync for TableRestoreStatus
impl Unpin for TableRestoreStatus
impl UnwindSafe for TableRestoreStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more