Skip to content

BatchGetRecord

Source: src/AWS/SageMaker/BatchGetRecord.ts

Runtime binding for sagemaker:BatchGetRecord — read a batch of records from a FeatureGroup’s online store in one call.

Bind this operation to a FeatureGroup inside a function runtime to get a callable that automatically scopes the batch identifiers to the bound feature group. Unknown identifiers are simply absent from Records (they are not errors).

// init
const batchGetRecord = yield* AWS.SageMaker.BatchGetRecord(featureGroup);
// runtime
const { Records } = yield* batchGetRecord({
RecordIdentifiersValueAsString: ["user-1", "user-2"],
});