Struct aws_sdk_sagemaker::types::OnlineStoreConfig
source · #[non_exhaustive]pub struct OnlineStoreConfig {
pub security_config: Option<OnlineStoreSecurityConfig>,
pub enable_online_store: Option<bool>,
pub ttl_duration: Option<TtlDuration>,
pub storage_type: Option<StorageType>,
}
Expand description
Use this to specify the Amazon Web Services Key Management Service (KMS) Key ID, or KMSKeyId
, for at rest data encryption. You can turn OnlineStore
on or off by specifying the EnableOnlineStore
flag at General Assembly.
The default value is False
.
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.security_config: Option<OnlineStoreSecurityConfig>
Use to specify KMS Key ID (KMSKeyId
) for at-rest encryption of your OnlineStore
.
enable_online_store: Option<bool>
Turn OnlineStore
off by specifying False
for the EnableOnlineStore
flag. Turn OnlineStore
on by specifying True
for the EnableOnlineStore
flag.
The default value is False
.
ttl_duration: Option<TtlDuration>
Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt
= EventTime
+ TtlDuration
. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.
storage_type: Option<StorageType>
Option for different tiers of low latency storage for real-time data retrieval.
-
Standard
: A managed low latency data store for feature groups. -
InMemory
: A managed data store for feature groups that supports very low latency retrieval.
Implementations§
source§impl OnlineStoreConfig
impl OnlineStoreConfig
sourcepub fn security_config(&self) -> Option<&OnlineStoreSecurityConfig>
pub fn security_config(&self) -> Option<&OnlineStoreSecurityConfig>
Use to specify KMS Key ID (KMSKeyId
) for at-rest encryption of your OnlineStore
.
sourcepub fn enable_online_store(&self) -> Option<bool>
pub fn enable_online_store(&self) -> Option<bool>
Turn OnlineStore
off by specifying False
for the EnableOnlineStore
flag. Turn OnlineStore
on by specifying True
for the EnableOnlineStore
flag.
The default value is False
.
sourcepub fn ttl_duration(&self) -> Option<&TtlDuration>
pub fn ttl_duration(&self) -> Option<&TtlDuration>
Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt
= EventTime
+ TtlDuration
. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.
sourcepub fn storage_type(&self) -> Option<&StorageType>
pub fn storage_type(&self) -> Option<&StorageType>
Option for different tiers of low latency storage for real-time data retrieval.
-
Standard
: A managed low latency data store for feature groups. -
InMemory
: A managed data store for feature groups that supports very low latency retrieval.
source§impl OnlineStoreConfig
impl OnlineStoreConfig
sourcepub fn builder() -> OnlineStoreConfigBuilder
pub fn builder() -> OnlineStoreConfigBuilder
Creates a new builder-style object to manufacture OnlineStoreConfig
.
Trait Implementations§
source§impl Clone for OnlineStoreConfig
impl Clone for OnlineStoreConfig
source§fn clone(&self) -> OnlineStoreConfig
fn clone(&self) -> OnlineStoreConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OnlineStoreConfig
impl Debug for OnlineStoreConfig
source§impl PartialEq for OnlineStoreConfig
impl PartialEq for OnlineStoreConfig
source§fn eq(&self, other: &OnlineStoreConfig) -> bool
fn eq(&self, other: &OnlineStoreConfig) -> bool
self
and other
values to be equal, and is used
by ==
.