Questions tagged [dynamodb-queries]

Utilize this information when discussing the process of searching or inspecting an Amazon DynamoDB managed database.

The error message thrown by DynamoDB BatchGet is always 'The key element supplied does not align with the schema'

I've been struggling with the DynamoDB batchGet operation for quite some time now. Here's my table definition using serverless: Resources: MyTable: Type: AWS::DynamoDB::Table DeletionPolicy: Retain Properties: TableName: MyTab ...

Retrieve all items from DynamoDB using a list of specified IDs

I am working with a table that has an attribute named id of type HASH. My goal is to retrieve all items from an array of ids. { TableName: `MyTable`, FilterExpression: 'id IN (:id)', ExpressionAttributeValues: { ':id': ids }, }; How can I fet ...