Struct aws_sdk_dynamodb::model::ArchivalSummary
source · [−]#[non_exhaustive]pub struct ArchivalSummary {
pub archival_date_time: Option<DateTime>,
pub archival_reason: Option<String>,
pub archival_backup_arn: Option<String>,
}
Expand description
Contains details of a table archival 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.archival_date_time: Option<DateTime>
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
archival_reason: Option<String>
The reason DynamoDB archived the table. Currently, the only possible value is:
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.
archival_backup_arn: Option<String>
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.
Implementations
sourceimpl ArchivalSummary
impl ArchivalSummary
sourcepub fn archival_date_time(&self) -> Option<&DateTime>
pub fn archival_date_time(&self) -> Option<&DateTime>
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
sourcepub fn archival_reason(&self) -> Option<&str>
pub fn archival_reason(&self) -> Option<&str>
The reason DynamoDB archived the table. Currently, the only possible value is:
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.
sourcepub fn archival_backup_arn(&self) -> Option<&str>
pub fn archival_backup_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.
sourceimpl ArchivalSummary
impl ArchivalSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ArchivalSummary
Trait Implementations
sourceimpl Clone for ArchivalSummary
impl Clone for ArchivalSummary
sourcefn clone(&self) -> ArchivalSummary
fn clone(&self) -> ArchivalSummary
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 ArchivalSummary
impl Debug for ArchivalSummary
sourceimpl PartialEq<ArchivalSummary> for ArchivalSummary
impl PartialEq<ArchivalSummary> for ArchivalSummary
sourcefn eq(&self, other: &ArchivalSummary) -> bool
fn eq(&self, other: &ArchivalSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ArchivalSummary) -> bool
fn ne(&self, other: &ArchivalSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for ArchivalSummary
Auto Trait Implementations
impl RefUnwindSafe for ArchivalSummary
impl Send for ArchivalSummary
impl Sync for ArchivalSummary
impl Unpin for ArchivalSummary
impl UnwindSafe for ArchivalSummary
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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