SageMakerFeatureStoreRuntime / Client / list_records
list_records¶
- SageMakerFeatureStoreRuntime.Client.list_records(**kwargs)¶
Lists the
RecordIdentifiervalues of all records stored in aFeatureGroup’sOnlineStore. This enables you to discover which records exist without retrieving the full record data.See also: AWS API Documentation
Request Syntax
response = client.list_records( FeatureGroupName='string', MaxResults=123, NextToken='string', IncludeSoftDeletedRecords=True|False )
- Parameters:
FeatureGroupName (string) –
[REQUIRED]
The name or Amazon Resource Name (ARN) of the feature group to list records from.
MaxResults (integer) – The maximum number of record identifiers to return in a single page of results. For the
InMemorytier, this value is a hint and not a strict requirement. The response may contain more or fewer results than the specifiedMaxResults.NextToken (string) – A token to resume pagination of
ListRecordsresults.IncludeSoftDeletedRecords (boolean) – If set to
true, the result includes records that have been soft deleted.
- Return type:
dict
- Returns:
Response Syntax
{ 'RecordIdentifiers': [ 'string', ], 'NextToken': 'string' }
Response Structure
(dict) –
RecordIdentifiers (list) –
A list of record identifier values for the records stored in the
OnlineStore.(string) –
NextToken (string) –
A token to resume pagination if the response includes more record identifiers than
MaxResults.
Exceptions
SageMakerFeatureStoreRuntime.Client.exceptions.ValidationErrorSageMakerFeatureStoreRuntime.Client.exceptions.ResourceNotFoundSageMakerFeatureStoreRuntime.Client.exceptions.InternalFailureSageMakerFeatureStoreRuntime.Client.exceptions.ServiceUnavailableSageMakerFeatureStoreRuntime.Client.exceptions.AccessForbidden