#[non_exhaustive]pub struct WriteRecordsInput {
pub database_name: Option<String>,
pub table_name: Option<String>,
pub common_attributes: Option<Record>,
pub records: Option<Vec<Record>>,
}
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.database_name: Option<String>
The name of the Timestream database.
table_name: Option<String>
The name of the Timestream table.
common_attributes: Option<Record>
A record that contains the common measure, dimension, time, and version attributes shared across all the records in the request. The measure and dimension attributes specified will be merged with the measure and dimension attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a ValidationException
will be thrown. In other words, a record must contain dimensions with unique names.
records: Option<Vec<Record>>
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
Implementations§
source§impl WriteRecordsInput
impl WriteRecordsInput
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the Timestream table.
sourcepub fn common_attributes(&self) -> Option<&Record>
pub fn common_attributes(&self) -> Option<&Record>
A record that contains the common measure, dimension, time, and version attributes shared across all the records in the request. The measure and dimension attributes specified will be merged with the measure and dimension attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a ValidationException
will be thrown. In other words, a record must contain dimensions with unique names.
source§impl WriteRecordsInput
impl WriteRecordsInput
sourcepub fn builder() -> WriteRecordsInputBuilder
pub fn builder() -> WriteRecordsInputBuilder
Creates a new builder-style object to manufacture WriteRecordsInput
.
Trait Implementations§
source§impl Clone for WriteRecordsInput
impl Clone for WriteRecordsInput
source§fn clone(&self) -> WriteRecordsInput
fn clone(&self) -> WriteRecordsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WriteRecordsInput
impl Debug for WriteRecordsInput
source§impl PartialEq<WriteRecordsInput> for WriteRecordsInput
impl PartialEq<WriteRecordsInput> for WriteRecordsInput
source§fn eq(&self, other: &WriteRecordsInput) -> bool
fn eq(&self, other: &WriteRecordsInput) -> bool
self
and other
values to be equal, and is used
by ==
.