Struct aws_sdk_sagemaker::model::FeatureGroup
source · [−]#[non_exhaustive]pub struct FeatureGroup {Show 14 fields
pub feature_group_arn: Option<String>,
pub feature_group_name: Option<String>,
pub record_identifier_feature_name: Option<String>,
pub event_time_feature_name: Option<String>,
pub feature_definitions: Option<Vec<FeatureDefinition>>,
pub creation_time: Option<DateTime>,
pub online_store_config: Option<OnlineStoreConfig>,
pub offline_store_config: Option<OfflineStoreConfig>,
pub role_arn: Option<String>,
pub feature_group_status: Option<FeatureGroupStatus>,
pub offline_store_status: Option<OfflineStoreStatus>,
pub failure_reason: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Amazon SageMaker Feature Store stores features in a collection called Feature Group. A Feature Group can be visualized as a table which has rows, with a unique identifier for each row where each column in the table is a feature. In principle, a Feature Group is composed of features and values per features.
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.feature_group_arn: Option<String>
The Amazon Resource Name (ARN) of a FeatureGroup
.
feature_group_name: Option<String>
The name of the FeatureGroup
.
record_identifier_feature_name: Option<String>
The name of the Feature
whose value uniquely identifies a Record
defined in the FeatureGroup
FeatureDefinitions
.
event_time_feature_name: Option<String>
The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
A EventTime
is point in time when a new event occurs that corresponds to the creation or update of a Record
in FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.
feature_definitions: Option<Vec<FeatureDefinition>>
A list of Feature
s. Each Feature
must include a FeatureName
and a FeatureType
.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
creation_time: Option<DateTime>
The time a FeatureGroup
was created.
online_store_config: Option<OnlineStoreConfig>
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
.
offline_store_config: Option<OfflineStoreConfig>
The configuration of an OfflineStore
.
Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
to create an OfflineStore
.
To encrypt an OfflineStore
using at rest data encryption, specify Amazon Web Services Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
feature_group_status: Option<FeatureGroupStatus>
A FeatureGroup
status.
offline_store_status: Option<OfflineStoreStatus>
The status of OfflineStore
.
failure_reason: Option<String>
The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is failure may be due to a failure to create a FeatureGroup
in or delete a FeatureGroup
from the OfflineStore
.
description: Option<String>
A free form description of a FeatureGroup
.
Tags used to define a FeatureGroup
.
Implementations
sourceimpl FeatureGroup
impl FeatureGroup
sourcepub fn feature_group_arn(&self) -> Option<&str>
pub fn feature_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a FeatureGroup
.
sourcepub fn feature_group_name(&self) -> Option<&str>
pub fn feature_group_name(&self) -> Option<&str>
The name of the FeatureGroup
.
sourcepub fn record_identifier_feature_name(&self) -> Option<&str>
pub fn record_identifier_feature_name(&self) -> Option<&str>
The name of the Feature
whose value uniquely identifies a Record
defined in the FeatureGroup
FeatureDefinitions
.
sourcepub fn event_time_feature_name(&self) -> Option<&str>
pub fn event_time_feature_name(&self) -> Option<&str>
The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
A EventTime
is point in time when a new event occurs that corresponds to the creation or update of a Record
in FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.
sourcepub fn feature_definitions(&self) -> Option<&[FeatureDefinition]>
pub fn feature_definitions(&self) -> Option<&[FeatureDefinition]>
A list of Feature
s. Each Feature
must include a FeatureName
and a FeatureType
.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time a FeatureGroup
was created.
sourcepub fn online_store_config(&self) -> Option<&OnlineStoreConfig>
pub fn online_store_config(&self) -> Option<&OnlineStoreConfig>
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
.
sourcepub fn offline_store_config(&self) -> Option<&OfflineStoreConfig>
pub fn offline_store_config(&self) -> Option<&OfflineStoreConfig>
The configuration of an OfflineStore
.
Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
to create an OfflineStore
.
To encrypt an OfflineStore
using at rest data encryption, specify Amazon Web Services Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
sourcepub fn feature_group_status(&self) -> Option<&FeatureGroupStatus>
pub fn feature_group_status(&self) -> Option<&FeatureGroupStatus>
A FeatureGroup
status.
sourcepub fn offline_store_status(&self) -> Option<&OfflineStoreStatus>
pub fn offline_store_status(&self) -> Option<&OfflineStoreStatus>
The status of OfflineStore
.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is failure may be due to a failure to create a FeatureGroup
in or delete a FeatureGroup
from the OfflineStore
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A free form description of a FeatureGroup
.
Tags used to define a FeatureGroup
.
sourceimpl FeatureGroup
impl FeatureGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FeatureGroup
Trait Implementations
sourceimpl Clone for FeatureGroup
impl Clone for FeatureGroup
sourcefn clone(&self) -> FeatureGroup
fn clone(&self) -> FeatureGroup
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 FeatureGroup
impl Debug for FeatureGroup
sourceimpl PartialEq<FeatureGroup> for FeatureGroup
impl PartialEq<FeatureGroup> for FeatureGroup
sourcefn eq(&self, other: &FeatureGroup) -> bool
fn eq(&self, other: &FeatureGroup) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FeatureGroup) -> bool
fn ne(&self, other: &FeatureGroup) -> bool
This method tests for !=
.
impl StructuralPartialEq for FeatureGroup
Auto Trait Implementations
impl RefUnwindSafe for FeatureGroup
impl Send for FeatureGroup
impl Sync for FeatureGroup
impl Unpin for FeatureGroup
impl UnwindSafe for FeatureGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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