Struct aws_sdk_dynamodb::types::SourceTableDetails
source · #[non_exhaustive]pub struct SourceTableDetails {
pub table_name: Option<String>,
pub table_id: Option<String>,
pub table_arn: Option<String>,
pub table_size_bytes: Option<i64>,
pub key_schema: Option<Vec<KeySchemaElement>>,
pub table_creation_date_time: Option<DateTime>,
pub provisioned_throughput: Option<ProvisionedThroughput>,
pub item_count: Option<i64>,
pub billing_mode: Option<BillingMode>,
}Expand description
Contains the details of the table when the backup was created.
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_name: Option<String>The name of the table for which the backup was created.
table_id: Option<String>Unique identifier for the table for which the backup was created.
table_arn: Option<String>ARN of the table for which backup was created.
table_size_bytes: Option<i64>Size of the table in bytes. Note that this is an approximate value.
key_schema: Option<Vec<KeySchemaElement>>Schema of the table.
table_creation_date_time: Option<DateTime>Time when the source table was created.
provisioned_throughput: Option<ProvisionedThroughput>Read IOPs and Write IOPS on the table when the backup was created.
item_count: Option<i64>Number of items in the table. Note that this is an approximate value.
billing_mode: Option<BillingMode>Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED- Sets the read/write capacity mode toPROVISIONED. We recommend usingPROVISIONEDfor predictable workloads. -
PAY_PER_REQUEST- Sets the read/write capacity mode toPAY_PER_REQUEST. We recommend usingPAY_PER_REQUESTfor unpredictable workloads.
Implementations§
source§impl SourceTableDetails
impl SourceTableDetails
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table for which the backup was created.
sourcepub fn table_id(&self) -> Option<&str>
pub fn table_id(&self) -> Option<&str>
Unique identifier for the table for which the backup was created.
sourcepub fn table_size_bytes(&self) -> Option<i64>
pub fn table_size_bytes(&self) -> Option<i64>
Size of the table in bytes. Note that this is an approximate value.
sourcepub fn key_schema(&self) -> Option<&[KeySchemaElement]>
pub fn key_schema(&self) -> Option<&[KeySchemaElement]>
Schema of the table.
sourcepub fn table_creation_date_time(&self) -> Option<&DateTime>
pub fn table_creation_date_time(&self) -> Option<&DateTime>
Time when the source table was created.
sourcepub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
pub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
Read IOPs and Write IOPS on the table when the backup was created.
sourcepub fn item_count(&self) -> Option<i64>
pub fn item_count(&self) -> Option<i64>
Number of items in the table. Note that this is an approximate value.
sourcepub fn billing_mode(&self) -> Option<&BillingMode>
pub fn billing_mode(&self) -> Option<&BillingMode>
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED- Sets the read/write capacity mode toPROVISIONED. We recommend usingPROVISIONEDfor predictable workloads. -
PAY_PER_REQUEST- Sets the read/write capacity mode toPAY_PER_REQUEST. We recommend usingPAY_PER_REQUESTfor unpredictable workloads.
source§impl SourceTableDetails
impl SourceTableDetails
sourcepub fn builder() -> SourceTableDetailsBuilder
pub fn builder() -> SourceTableDetailsBuilder
Creates a new builder-style object to manufacture SourceTableDetails.
Trait Implementations§
source§impl Clone for SourceTableDetails
impl Clone for SourceTableDetails
source§fn clone(&self) -> SourceTableDetails
fn clone(&self) -> SourceTableDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SourceTableDetails
impl Debug for SourceTableDetails
source§impl PartialEq for SourceTableDetails
impl PartialEq for SourceTableDetails
source§fn eq(&self, other: &SourceTableDetails) -> bool
fn eq(&self, other: &SourceTableDetails) -> bool
self and other values to be equal, and is used
by ==.