pub struct CreateFeatureGroupRequest {
pub description: Option<String>,
pub event_time_feature_name: String,
pub feature_definitions: Vec<FeatureDefinition>,
pub feature_group_name: String,
pub offline_store_config: Option<OfflineStoreConfig>,
pub online_store_config: Option<OnlineStoreConfig>,
pub record_identifier_feature_name: String,
pub role_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields
description: Option<String>
A free-form description of a FeatureGroup
.
event_time_feature_name: String
The name of the feature that stores the EventTime
of a Record
in a FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or update of a Record
in a FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
-
Fractional
:EventTime
feature values must be a Unix timestamp in seconds. -
String
:EventTime
feature values must be an ISO-8601 string in the format. The following formats are supportedyyyy-MM-dd'T'HH:mm:ssZ
andyyyy-MM-dd'T'HH:mm:ss.SSSZ
whereyyyy
,MM
, anddd
represent the year, month, and day respectively andHH
,mm
,ss
, and if applicable,SSS
represent the hour, month, second and milliseconds respsectively.'T'
andZ
are constants.
feature_definitions: Vec<FeatureDefinition>
A list of Feature
names and types. Name
and Type
is compulsory per Feature
.
Valid feature 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
.
feature_group_name: String
The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account. The name:
-
Must start and end with an alphanumeric character.
-
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
offline_store_config: Option<OfflineStoreConfig>
Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
-
The Amazon Simple Storage Service (Amazon S3) location of an
OfflineStore
. -
A configuration for an AWS Glue or AWS Hive data cataolgue.
-
An KMS encryption key to encrypt the Amazon S3 location used for
OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
online_store_config: Option<OnlineStoreConfig>
You can turn the OnlineStore
on or off by specifying True
for the EnableOnlineStore
flag in OnlineStoreConfig
; the default value is False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the OnlineStore
.
record_identifier_feature_name: String
The name of the Feature
whose value uniquely identifies a Record
defined in the FeatureStore
. Only the latest record per identifier value will be stored in the OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions' names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
-
Must start and end with an alphanumeric character.
-
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
if an OfflineStoreConfig
is provided.
Tags used to identify Features
in each FeatureGroup
.
Trait Implementations
sourceimpl Clone for CreateFeatureGroupRequest
impl Clone for CreateFeatureGroupRequest
sourcefn clone(&self) -> CreateFeatureGroupRequest
fn clone(&self) -> CreateFeatureGroupRequest
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 CreateFeatureGroupRequest
impl Debug for CreateFeatureGroupRequest
sourceimpl Default for CreateFeatureGroupRequest
impl Default for CreateFeatureGroupRequest
sourcefn default() -> CreateFeatureGroupRequest
fn default() -> CreateFeatureGroupRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateFeatureGroupRequest> for CreateFeatureGroupRequest
impl PartialEq<CreateFeatureGroupRequest> for CreateFeatureGroupRequest
sourcefn eq(&self, other: &CreateFeatureGroupRequest) -> bool
fn eq(&self, other: &CreateFeatureGroupRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFeatureGroupRequest) -> bool
fn ne(&self, other: &CreateFeatureGroupRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateFeatureGroupRequest
impl Serialize for CreateFeatureGroupRequest
impl StructuralPartialEq for CreateFeatureGroupRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateFeatureGroupRequest
impl Send for CreateFeatureGroupRequest
impl Sync for CreateFeatureGroupRequest
impl Unpin for CreateFeatureGroupRequest
impl UnwindSafe for CreateFeatureGroupRequest
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> 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.
sourcefn clone_into(&self, target: &mut T)
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