Struct aws_sdk_timestreamwrite::types::Table
source · #[non_exhaustive]pub struct Table {
pub arn: Option<String>,
pub table_name: Option<String>,
pub database_name: Option<String>,
pub table_status: Option<TableStatus>,
pub retention_properties: Option<RetentionProperties>,
pub creation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
pub magnetic_store_write_properties: Option<MagneticStoreWriteProperties>,
pub schema: Option<Schema>,
}
Expand description
Represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.
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.arn: Option<String>
The Amazon Resource Name that uniquely identifies this table.
table_name: Option<String>
The name of the Timestream table.
database_name: Option<String>
The name of the Timestream database that contains this table.
table_status: Option<TableStatus>
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
retention_properties: Option<RetentionProperties>
The retention duration for the memory store and magnetic store.
creation_time: Option<DateTime>
The time when the Timestream table was created.
last_updated_time: Option<DateTime>
The time when the Timestream table was last updated.
magnetic_store_write_properties: Option<MagneticStoreWriteProperties>
Contains properties to set on the table when enabling magnetic store writes.
schema: Option<Schema>
The schema of the table.
Implementations§
source§impl Table
impl Table
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name that uniquely identifies this table.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the Timestream table.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database that contains this table.
sourcepub fn table_status(&self) -> Option<&TableStatus>
pub fn table_status(&self) -> Option<&TableStatus>
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn retention_properties(&self) -> Option<&RetentionProperties>
pub fn retention_properties(&self) -> Option<&RetentionProperties>
The retention duration for the memory store and magnetic store.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the Timestream table was created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time when the Timestream table was last updated.
sourcepub fn magnetic_store_write_properties(
&self
) -> Option<&MagneticStoreWriteProperties>
pub fn magnetic_store_write_properties( &self ) -> Option<&MagneticStoreWriteProperties>
Contains properties to set on the table when enabling magnetic store writes.