Skip to content

GetRecord

Source: src/AWS/SageMaker/GetRecord.ts

Runtime binding for sagemaker:GetRecord — read the latest record for an identifier from a FeatureGroup’s online store.

Bind this operation to a FeatureGroup inside a function runtime to get a callable that automatically injects the feature group name. If no record exists for the identifier, the response’s Record is empty.

// init
const getRecord = yield* AWS.SageMaker.GetRecord(featureGroup);
// runtime
const { Record } = yield* getRecord({
RecordIdentifierValueAsString: "user-123",
});