Sagemaker Featurestore Runtime
This page documents function available when using the Sagemaker_Featurestore_Runtime
module, created with @service Sagemaker_Featurestore_Runtime
.
Index
Main.Sagemaker_Featurestore_Runtime.delete_record
Main.Sagemaker_Featurestore_Runtime.get_record
Main.Sagemaker_Featurestore_Runtime.put_record
Documentation
Main.Sagemaker_Featurestore_Runtime.delete_record
— Methoddelete_record(event_time, feature_group_name, record_identifier_value_as_string)
delete_record(event_time, feature_group_name, record_identifier_value_as_string, params::Dict{String,<:Any})
Deletes a Record from a FeatureGroup. A new record will show up in the OfflineStore when the DeleteRecord API is called. This record will have a value of True in the is_deleted column.
Arguments
event_time
: Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.feature_group_name
: The name of the feature group to delete the record from.record_identifier_value_as_string
: The value for the RecordIdentifier that uniquely identifies the record, in string format.
Main.Sagemaker_Featurestore_Runtime.get_record
— Methodget_record(feature_group_name, record_identifier_value_as_string)
get_record(feature_group_name, record_identifier_value_as_string, params::Dict{String,<:Any})
Use for OnlineStore serving from a FeatureStore. Only the latest records stored in the OnlineStore can be retrieved. If no Record with RecordIdentifierValue is found, then an empty result is returned.
Arguments
feature_group_name
: The name of the feature group in which you want to put the records.record_identifier_value_as_string
: The value that corresponds to RecordIdentifier type and uniquely identifies the record in the FeatureGroup.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"FeatureName"
: List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
Main.Sagemaker_Featurestore_Runtime.put_record
— Methodput_record(feature_group_name, record)
put_record(feature_group_name, record, params::Dict{String,<:Any})
Used for data ingestion into the FeatureStore. The PutRecord API writes to both the OnlineStore and OfflineStore. If the record is the latest record for the recordIdentifier, the record is written to both the OnlineStore and OfflineStore. If the record is a historic record, it is written only to the OfflineStore.
Arguments
feature_group_name
: The name of the feature group that you want to insert the record into.record
: List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following: Use GetRecord to retrieve the latest record. Update the record returned from GetRecord. Use PutRecord to update feature values.