Struct aws_sdk_timestreamwrite::types::Database
source · #[non_exhaustive]pub struct Database {
pub arn: Option<String>,
pub database_name: Option<String>,
pub table_count: i64,
pub kms_key_id: Option<String>,
pub creation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
}
Expand description
A top-level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.
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 database.
database_name: Option<String>
The name of the Timestream database.
table_count: i64
The total number of tables found within a Timestream database.
kms_key_id: Option<String>
The identifier of the KMS key used to encrypt the data stored in the database.
creation_time: Option<DateTime>
The time when the database was created, calculated from the Unix epoch time.
last_updated_time: Option<DateTime>
The last time that this database was updated.
Implementations§
source§impl Database
impl Database
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name that uniquely identifies this database.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database.
sourcepub fn table_count(&self) -> i64
pub fn table_count(&self) -> i64
The total number of tables found within a Timestream database.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier of the KMS key used to encrypt the data stored in the database.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the database was created, calculated from the Unix epoch time.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The last time that this database was updated.