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 ==
.