Struct aws_sdk_dynamodb::types::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§
source§impl 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.
source§impl ArchivalSummary
impl ArchivalSummary
sourcepub fn builder() -> ArchivalSummaryBuilder
pub fn builder() -> ArchivalSummaryBuilder
Creates a new builder-style object to manufacture ArchivalSummary
.
Trait Implementations§
source§impl Clone for ArchivalSummary
impl Clone for ArchivalSummary
source§fn clone(&self) -> ArchivalSummary
fn clone(&self) -> ArchivalSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArchivalSummary
impl Debug for ArchivalSummary
source§impl PartialEq for ArchivalSummary
impl PartialEq for ArchivalSummary
source§fn eq(&self, other: &ArchivalSummary) -> bool
fn eq(&self, other: &ArchivalSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArchivalSummary
Auto Trait Implementations§
impl Freeze for ArchivalSummary
impl RefUnwindSafe for ArchivalSummary
impl Send for ArchivalSummary
impl Sync for ArchivalSummary
impl Unpin for ArchivalSummary
impl UnwindSafe for ArchivalSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more