sagemakerfeaturestoreruntime_delete_record: Deletes a Record from a FeatureGroup in the OnlineStore

View source: R/sagemakerfeaturestoreruntime_operations.R

sagemakerfeaturestoreruntime_delete_recordR Documentation

Deletes a Record from a FeatureGroup in the OnlineStore

Description

Deletes a Record from a FeatureGroup in the OnlineStore. Feature Store supports both SoftDelete and HardDelete. For SoftDelete (default), feature columns are set to null and the record is no longer retrievable by get_record or batch_get_record. For HardDelete, the complete Record is removed from the OnlineStore. In both cases, Feature Store appends the deleted record marker to the OfflineStore. The deleted record marker is a record with the same RecordIdentifer as the original, but with is_deleted value set to True, EventTime set to the delete input EventTime, and other feature values set to null.

See https://www.paws-r-sdk.com/docs/sagemakerfeaturestoreruntime_delete_record/ for full documentation.

Usage

sagemakerfeaturestoreruntime_delete_record(
  FeatureGroupName,
  RecordIdentifierValueAsString,
  EventTime,
  TargetStores = NULL,
  DeletionMode = NULL
)

Arguments

FeatureGroupName

[required] The name or Amazon Resource Name (ARN) of the feature group to delete the record from.

RecordIdentifierValueAsString

[required] The value for the RecordIdentifier that uniquely identifies the record, in string format.

EventTime

[required] Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.

TargetStores

A list of stores from which you're deleting the record. By default, Feature Store deletes the record from all of the stores that you're using for the FeatureGroup.

DeletionMode

The name of the deletion mode for deleting the record. By default, the deletion mode is set to SoftDelete.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.