SageMakerFeatureStoreRuntime / Client / batch_get_record
batch_get_record#
- SageMakerFeatureStoreRuntime.Client.batch_get_record(**kwargs)#
Retrieves a batch of
Records
from aFeatureGroup
.See also: AWS API Documentation
Request Syntax
response = client.batch_get_record( Identifiers=[ { 'FeatureGroupName': 'string', 'RecordIdentifiersValueAsString': [ 'string', ], 'FeatureNames': [ 'string', ] }, ] )
- Parameters:
Identifiers (list) –
[REQUIRED]
A list of
FeatureGroup
names, with their correspondingRecordIdentifier
value, and Feature name that have been requested to be retrieved in batch.(dict) –
The identifier that identifies the batch of Records you are retrieving in a batch.
FeatureGroupName (string) – [REQUIRED]
A
FeatureGroupName
containing Records you are retrieving in a batch.RecordIdentifiersValueAsString (list) – [REQUIRED]
The value for a list of record identifiers in string format.
(string) –
FeatureNames (list) –
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Records': [ { 'FeatureGroupName': 'string', 'RecordIdentifierValueAsString': 'string', 'Record': [ { 'FeatureName': 'string', 'ValueAsString': 'string' }, ] }, ], 'Errors': [ { 'FeatureGroupName': 'string', 'RecordIdentifierValueAsString': 'string', 'ErrorCode': 'string', 'ErrorMessage': 'string' }, ], 'UnprocessedIdentifiers': [ { 'FeatureGroupName': 'string', 'RecordIdentifiersValueAsString': [ 'string', ], 'FeatureNames': [ 'string', ] }, ] }
Response Structure
(dict) –
Records (list) –
A list of Records you requested to be retrieved in batch.
(dict) –
The output of Records that have been retrieved in a batch.
FeatureGroupName (string) –
The
FeatureGroupName
containing Records you retrieved in a batch.RecordIdentifierValueAsString (string) –
The value of the record identifier in string format.
Record (list) –
The
Record
retrieved.(dict) –
The value associated with a feature.
FeatureName (string) –
The name of a feature that a feature value corresponds to.
ValueAsString (string) –
The value associated with a feature, in string format. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
Errors (list) –
A list of errors that have occurred when retrieving a batch of Records.
(dict) –
The error that has occurred when attempting to retrieve a batch of Records.
FeatureGroupName (string) –
The name of the feature group that the record belongs to.
RecordIdentifierValueAsString (string) –
The value for the
RecordIdentifier
in string format of a Record from aFeatureGroup
that is causing an error when attempting to be retrieved.ErrorCode (string) –
The error code of an error that has occurred when attempting to retrieve a batch of Records. For more information on errors, see Errors.
ErrorMessage (string) –
The error message of an error that has occurred when attempting to retrieve a record in the batch.
UnprocessedIdentifiers (list) –
A unprocessed list of
FeatureGroup
names, with their correspondingRecordIdentifier
value, and Feature name.(dict) –
The identifier that identifies the batch of Records you are retrieving in a batch.
FeatureGroupName (string) –
A
FeatureGroupName
containing Records you are retrieving in a batch.RecordIdentifiersValueAsString (list) –
The value for a list of record identifiers in string format.
(string) –
FeatureNames (list) –
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
(string) –
Exceptions