Skip to content

Use for OnlineStore serving from a FeatureStore

Description

Use for OnlineStore serving from a FeatureStore. Only the latest records stored in the OnlineStore can be retrieved. If no Record with RecordIdentifierValue is found, then an empty result is returned.

Usage

sagemakerfeaturestoreruntime_get_record(FeatureGroupName,
  RecordIdentifierValueAsString, FeatureNames, ExpirationTimeResponse)

Arguments

  • FeatureGroupName

    [required] The name or Amazon Resource Name (ARN) of the feature group from which you want to retrieve a record.

  • RecordIdentifierValueAsString

    [required] The value that corresponds to RecordIdentifier type and uniquely identifies the record in the FeatureGroup.

  • FeatureNames

    List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.

  • ExpirationTimeResponse

    Parameter to request ExpiresAt in response. If Enabled, get_record will return the value of ExpiresAt, if it is not null. If Disabled and null, get_record will return null.

Value

A list with the following syntax:

list(
  Record = list(
    list(
      FeatureName = "string",
      ValueAsString = "string",
      ValueAsStringList = list(
        "string"
      )
    )
  ),
  ExpiresAt = "string"
)

Request syntax

svc$get_record(
  FeatureGroupName = "string",
  RecordIdentifierValueAsString = "string",
  FeatureNames = list(
    "string"
  ),
  ExpirationTimeResponse = "Enabled"|"Disabled"
)