Struct aws_sdk_sagemaker::types::FeatureGroup
source · #[non_exhaustive]pub struct FeatureGroup {Show 16 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 last_modified_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 last_update_status: Option<LastUpdateStatus>,
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.
last_modified_time: Option<DateTime>
A timestamp indicating the last time you updated the feature group.
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
.
last_update_status: Option<LastUpdateStatus>
A value that indicates whether the feature group was updated successfully.
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§
source§impl 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) -> &[FeatureDefinition]
pub fn feature_definitions(&self) -> &[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
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .feature_definitions.is_none()
.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time a FeatureGroup
was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
A timestamp indicating the last time you updated the feature group.
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 last_update_status(&self) -> Option<&LastUpdateStatus>
pub fn last_update_status(&self) -> Option<&LastUpdateStatus>
A value that indicates whether the feature group was updated successfully.
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
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl FeatureGroup
impl FeatureGroup
sourcepub fn builder() -> FeatureGroupBuilder
pub fn builder() -> FeatureGroupBuilder
Creates a new builder-style object to manufacture FeatureGroup
.
Trait Implementations§
source§impl Clone for FeatureGroup
impl Clone for FeatureGroup
source§fn clone(&self) -> FeatureGroup
fn clone(&self) -> FeatureGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeatureGroup
impl Debug for FeatureGroup
source§impl PartialEq for FeatureGroup
impl PartialEq for FeatureGroup
source§fn eq(&self, other: &FeatureGroup) -> bool
fn eq(&self, other: &FeatureGroup) -> bool
self
and other
values to be equal, and is used
by ==
.