#[non_exhaustive]pub struct UpdateDatastoreInput {
pub datastore_name: Option<String>,
pub retention_period: Option<RetentionPeriod>,
pub datastore_storage: Option<DatastoreStorage>,
pub file_format_configuration: Option<FileFormatConfiguration>,
}
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.datastore_name: Option<String>
The name of the data store to be updated.
retention_period: Option<RetentionPeriod>
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
datastore_storage: Option<DatastoreStorage>
Where data in a data store is stored.. You can choose serviceManagedS3
storage, customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
file_format_configuration: Option<FileFormatConfiguration>
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
Implementations§
source§impl UpdateDatastoreInput
impl UpdateDatastoreInput
sourcepub fn datastore_name(&self) -> Option<&str>
pub fn datastore_name(&self) -> Option<&str>
The name of the data store to be updated.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
sourcepub fn datastore_storage(&self) -> Option<&DatastoreStorage>
pub fn datastore_storage(&self) -> Option<&DatastoreStorage>
Where data in a data store is stored.. You can choose serviceManagedS3
storage, customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
sourcepub fn file_format_configuration(&self) -> Option<&FileFormatConfiguration>
pub fn file_format_configuration(&self) -> Option<&FileFormatConfiguration>
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
source§impl UpdateDatastoreInput
impl UpdateDatastoreInput
sourcepub fn builder() -> UpdateDatastoreInputBuilder
pub fn builder() -> UpdateDatastoreInputBuilder
Creates a new builder-style object to manufacture UpdateDatastoreInput
.
Trait Implementations§
source§impl Clone for UpdateDatastoreInput
impl Clone for UpdateDatastoreInput
source§fn clone(&self) -> UpdateDatastoreInput
fn clone(&self) -> UpdateDatastoreInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDatastoreInput
impl Debug for UpdateDatastoreInput
source§impl PartialEq for UpdateDatastoreInput
impl PartialEq for UpdateDatastoreInput
source§fn eq(&self, other: &UpdateDatastoreInput) -> bool
fn eq(&self, other: &UpdateDatastoreInput) -> bool
self
and other
values to be equal, and is used
by ==
.