PutRecord
Source:
src/AWS/SageMaker/PutRecord.ts
Runtime binding for sagemaker:PutRecord — write a record to a
FeatureGroup’s online store (and, when configured, its offline store).
Bind this operation to a FeatureGroup inside a function runtime to get a
callable that automatically injects the feature group name. Every feature
value is passed as a string (ValueAsString) — the feature group’s schema
declares the actual types.
Writing Records
Section titled “Writing Records”// initconst putRecord = yield* AWS.SageMaker.PutRecord(featureGroup);
// runtimeyield* putRecord({ Record: [ { FeatureName: "user_id", ValueAsString: "user-123" }, { FeatureName: "event_time", ValueAsString: new Date().toISOString() }, { FeatureName: "clicks", ValueAsString: "42" }, ],});