SageMakerFeatureStoreRuntime / Client / delete_record
delete_record#
- SageMakerFeatureStoreRuntime.Client.delete_record(**kwargs)#
Deletes a
Recordfrom aFeatureGroup. When theDeleteRecordAPI is called a new record will be added to theOfflineStoreand theRecordwill be removed from theOnlineStore. This record will have a value ofTruein theis_deletedcolumn.See also: AWS API Documentation
Request Syntax
response = client.delete_record( FeatureGroupName='string', RecordIdentifierValueAsString='string', EventTime='string', TargetStores=[ 'OnlineStore'|'OfflineStore', ] )
- Parameters:
FeatureGroupName (string) –
[REQUIRED]
The name of the feature group to delete the record from.
RecordIdentifierValueAsString (string) –
[REQUIRED]
The value for the
RecordIdentifierthat uniquely identifies the record, in string format.EventTime (string) –
[REQUIRED]
Timestamp indicating when the deletion event occurred.
EventTimecan be used to query data at a certain point in time.TargetStores (list) –
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.(string) –
- Returns:
None
Exceptions
SageMakerFeatureStoreRuntime.Client.exceptions.ValidationErrorSageMakerFeatureStoreRuntime.Client.exceptions.InternalFailureSageMakerFeatureStoreRuntime.Client.exceptions.ServiceUnavailableSageMakerFeatureStoreRuntime.Client.exceptions.AccessForbidden