SageMakerFeatureStoreRuntime.Client.
batch_get_record
(**kwargs)¶Retrieves a batch of Records
from a FeatureGroup
.
See also: AWS API Documentation
Request Syntax
response = client.batch_get_record(
Identifiers=[
{
'FeatureGroupName': 'string',
'RecordIdentifiersValueAsString': [
'string',
],
'FeatureNames': [
'string',
]
},
]
)
[REQUIRED]
A list of FeatureGroup
names, with their corresponding RecordIdentifier
value, and Feature name that have been requested to be retrieved in batch.
The identifier that identifies the batch of Records you are retrieving in a batch.
A FeatureGroupName
containing Records you are retrieving in a batch.
The value for a list of record identifiers in string format.
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
{
'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
A list of Records you requested to be retrieved in batch.
The output of Records that have been retrieved in a batch.
The FeatureGroupName
containing Records you retrieved in a batch.
The value of the record identifer in string format.
The Record
retrieved.
The value associated with a feature.
The name of a feature that a feature value corresponds to.
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.
A list of errors that have occurred when retrieving a batch of Records.
The error that has occurred when attempting to retrieve a batch of Records.
The name of the feature group that the record belongs to.
The value for the RecordIdentifier
in string format of a Record from a FeatureGroup
that is causing an error when attempting to be retrieved.
The error code of an error that has occured when attempting to retrieve a batch of Records. For more information on errors, see Errors.
The error message of an error that has occured when attempting to retrieve a record in the batch.
A unprocessed list of FeatureGroup
names, with their corresponding RecordIdentifier
value, and Feature name.
The identifier that identifies the batch of Records you are retrieving in a batch.
A FeatureGroupName
containing Records you are retrieving in a batch.
The value for a list of record identifiers in string format.
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
Exceptions
SageMakerFeatureStoreRuntime.Client.exceptions.ValidationError
SageMakerFeatureStoreRuntime.Client.exceptions.InternalFailure
SageMakerFeatureStoreRuntime.Client.exceptions.ServiceUnavailable
SageMakerFeatureStoreRuntime.Client.exceptions.AccessForbidden