DynamoDB - with AWS SDK
You run this code to add an item to DynamoDB:
Why does it throw an error?
const command = new PutItemCommand({ TableName: 'Orders', Item: { orderId: '001', amount: 100 } });
await client.send(command);Why does it throw an error?
