pub struct CreateDatastoreRequest {
pub datastore_name: String,
pub datastore_partitions: Option<DatastorePartitions>,
pub datastore_storage: Option<DatastoreStorage>,
pub file_format_configuration: Option<FileFormatConfiguration>,
pub retention_period: Option<RetentionPeriod>,
pub tags: Option<Vec<Tag>>,
}
Fields
datastore_name: String
The name of the data store.
datastore_partitions: Option<DatastorePartitions>
Contains information about the partitions in a data store.
datastore_storage: Option<DatastoreStorage>
Where data store data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You cannot change this storage option after the data store is created.
file_format_configuration: Option<FileFormatConfiguration>
Contains the configuration information of file formats. AWS 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.
retention_period: Option<RetentionPeriod>
How long, in days, message data is kept for the data store. When customerManagedS3
storage is selected, this parameter is ignored.
Metadata which can be used to manage the data store.
Trait Implementations
sourceimpl Clone for CreateDatastoreRequest
impl Clone for CreateDatastoreRequest
sourcefn clone(&self) -> CreateDatastoreRequest
fn clone(&self) -> CreateDatastoreRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDatastoreRequest
impl Debug for CreateDatastoreRequest
sourceimpl Default for CreateDatastoreRequest
impl Default for CreateDatastoreRequest
sourcefn default() -> CreateDatastoreRequest
fn default() -> CreateDatastoreRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateDatastoreRequest> for CreateDatastoreRequest
impl PartialEq<CreateDatastoreRequest> for CreateDatastoreRequest
sourcefn eq(&self, other: &CreateDatastoreRequest) -> bool
fn eq(&self, other: &CreateDatastoreRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDatastoreRequest) -> bool
fn ne(&self, other: &CreateDatastoreRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateDatastoreRequest
impl Serialize for CreateDatastoreRequest
impl StructuralPartialEq for CreateDatastoreRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateDatastoreRequest
impl Send for CreateDatastoreRequest
impl Sync for CreateDatastoreRequest
impl Unpin for CreateDatastoreRequest
impl UnwindSafe for CreateDatastoreRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more