2026/09/02 - Amazon SageMaker Feature Store Runtime - 1 new api methods
Changes Amazon SageMaker Feature Store now supports the Standard V2 online store type, which enables feature-level writes to feature groups. You can select Standard V2 when creating a feature group, and update the storage type of an existing feature group via UpdateFeatureGroup.
Updates one or more feature values for an existing record in the specified feature group. Features that you do not include in the request remain unchanged. You can update up to 100 features per call.
The record must already exist. If the record does not exist or has been soft-deleted, the operation returns a ResourceNotFound error. To create a record, use PutRecord.
If you provide an EventTime that is older than the record's current EventTime, the service rejects the update with a ConflictException. If the EventTime is equal to or newer than the current value, the service applies the update. If you omit EventTime, the service keeps the record's existing EventTime and applies the update.
If you specify a TtlDuration, you must also provide an EventTime in the request. Otherwise, the operation returns a ValidationError.
See also: AWS API Documentation
Request Syntax
client.update_record(
FeatureGroupName='string',
RecordIdentifierValueAsString='string',
Features=[
{
'FeatureName': 'string',
'ValueAsString': 'string',
'ValueAsStringList': [
'string',
]
},
],
TargetStores=[
'OnlineStore'|'OfflineStore',
],
TtlDuration={
'Unit': 'Seconds'|'Minutes'|'Hours'|'Days'|'Weeks',
'Value': 123
}
)
string
[REQUIRED]
The identifier for the feature group that contains the record to update. You can specify one of the following:
The feature group name.
The feature group Amazon Resource Name (ARN).
string
[REQUIRED]
The value that uniquely identifies the record in the feature group. This must match the value defined by the feature group's record identifier feature.
list
[REQUIRED]
The feature values to write to the record.
(dict) --
The value associated with a feature.
FeatureName (string) -- [REQUIRED]
The name of a feature that a feature value corresponds to.
ValueAsString (string) --
The value in string format associated with a feature. Used when your CollectionType is None. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
ValueAsStringList (list) --
The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.
(string) --
list
The target stores for the record update. By default, Amazon SageMaker Feature Store updates the record in all stores associated with the FeatureGroup.
(string) --
dict
The time-to-live (TTL) duration for the record. Amazon SageMaker Feature Store deletes the record when EventTime + TtlDuration elapses. If you omit this parameter, the record's existing TTL setting remains unchanged. For information about HardDelete, see the DeleteRecord operation in the Amazon SageMaker API Reference.
Unit (string) -- [REQUIRED]
TtlDuration time unit.
Value (integer) -- [REQUIRED]
TtlDuration time value.
None