Struct aws_sdk_iotsitewise::operation::put_storage_configuration::PutStorageConfigurationOutput
source · #[non_exhaustive]pub struct PutStorageConfigurationOutput {
pub storage_type: StorageType,
pub multi_layer_storage: Option<MultiLayerStorage>,
pub disassociated_data_storage: Option<DisassociatedDataStorageState>,
pub retention_period: Option<RetentionPeriod>,
pub configuration_status: Option<ConfigurationStatus>,
pub warm_tier: Option<WarmTierState>,
pub warm_tier_retention_period: Option<WarmTierRetentionPeriod>,
/* private fields */
}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.storage_type: StorageTypeThe storage tier that you specified for your data. The storageType parameter can be one of the following values:
-
SITEWISE_DEFAULT_STORAGE– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
multi_layer_storage: Option<MultiLayerStorage>Contains information about the storage destination.
disassociated_data_storage: Option<DisassociatedDataStorageState>Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:
-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis enabled, you can't disable it. -
DISABLED– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
retention_period: Option<RetentionPeriod>The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
configuration_status: Option<ConfigurationStatus>Contains current status information for the configuration.
warm_tier: Option<WarmTierState>A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
warm_tier_retention_period: Option<WarmTierRetentionPeriod>Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
Implementations§
source§impl PutStorageConfigurationOutput
impl PutStorageConfigurationOutput
sourcepub fn storage_type(&self) -> &StorageType
pub fn storage_type(&self) -> &StorageType
The storage tier that you specified for your data. The storageType parameter can be one of the following values:
-
SITEWISE_DEFAULT_STORAGE– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
sourcepub fn multi_layer_storage(&self) -> Option<&MultiLayerStorage>
pub fn multi_layer_storage(&self) -> Option<&MultiLayerStorage>
Contains information about the storage destination.
sourcepub fn disassociated_data_storage(
&self
) -> Option<&DisassociatedDataStorageState>
pub fn disassociated_data_storage( &self ) -> Option<&DisassociatedDataStorageState>
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:
-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis enabled, you can't disable it. -
DISABLED– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
sourcepub fn configuration_status(&self) -> Option<&ConfigurationStatus>
pub fn configuration_status(&self) -> Option<&ConfigurationStatus>
Contains current status information for the configuration.
sourcepub fn warm_tier(&self) -> Option<&WarmTierState>
pub fn warm_tier(&self) -> Option<&WarmTierState>
A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
sourcepub fn warm_tier_retention_period(&self) -> Option<&WarmTierRetentionPeriod>
pub fn warm_tier_retention_period(&self) -> Option<&WarmTierRetentionPeriod>
Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
source§impl PutStorageConfigurationOutput
impl PutStorageConfigurationOutput
sourcepub fn builder() -> PutStorageConfigurationOutputBuilder
pub fn builder() -> PutStorageConfigurationOutputBuilder
Creates a new builder-style object to manufacture PutStorageConfigurationOutput.
Trait Implementations§
source§impl Clone for PutStorageConfigurationOutput
impl Clone for PutStorageConfigurationOutput
source§fn clone(&self) -> PutStorageConfigurationOutput
fn clone(&self) -> PutStorageConfigurationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PutStorageConfigurationOutput
impl PartialEq for PutStorageConfigurationOutput
source§fn eq(&self, other: &PutStorageConfigurationOutput) -> bool
fn eq(&self, other: &PutStorageConfigurationOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for PutStorageConfigurationOutput
impl RequestId for PutStorageConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for PutStorageConfigurationOutput
Auto Trait Implementations§
impl Freeze for PutStorageConfigurationOutput
impl RefUnwindSafe for PutStorageConfigurationOutput
impl Send for PutStorageConfigurationOutput
impl Sync for PutStorageConfigurationOutput
impl Unpin for PutStorageConfigurationOutput
impl UnwindSafe for PutStorageConfigurationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more