Struct aws_sdk_iotanalytics::input::CreateDatastoreInput
source · [−]#[non_exhaustive]pub struct CreateDatastoreInput { /* private fields */ }Implementations
sourceimpl CreateDatastoreInput
impl CreateDatastoreInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatastore, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatastore, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDatastore>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDatastoreInput.
sourceimpl CreateDatastoreInput
impl CreateDatastoreInput
sourcepub fn datastore_name(&self) -> Option<&str>
pub fn datastore_name(&self) -> Option<&str>
The name of the data store.
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 retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> 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.
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.
sourcepub fn datastore_partitions(&self) -> Option<&DatastorePartitions>
pub fn datastore_partitions(&self) -> Option<&DatastorePartitions>
Contains information about the partition dimensions in a data store.
Trait Implementations
sourceimpl Clone for CreateDatastoreInput
impl Clone for CreateDatastoreInput
sourcefn clone(&self) -> CreateDatastoreInput
fn clone(&self) -> CreateDatastoreInput
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 CreateDatastoreInput
impl Debug for CreateDatastoreInput
sourceimpl PartialEq<CreateDatastoreInput> for CreateDatastoreInput
impl PartialEq<CreateDatastoreInput> for CreateDatastoreInput
sourcefn eq(&self, other: &CreateDatastoreInput) -> bool
fn eq(&self, other: &CreateDatastoreInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateDatastoreInput) -> bool
fn ne(&self, other: &CreateDatastoreInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateDatastoreInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDatastoreInput
impl Send for CreateDatastoreInput
impl Sync for CreateDatastoreInput
impl Unpin for CreateDatastoreInput
impl UnwindSafe for CreateDatastoreInput
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> 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