2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
managed to get to the bottom of this:
{
"body": {
"Items": [],
"Count": 0,
"ScannedCount": 2
},
"query": {
"TableName": "lead-data-dev",
"FilterExpression": "messageId = :a",
"ExpressionAttributeValues": {
":a": "1aa94a6b-6b54-46e6-838d-5781d223f673"
}
}
}
the ExpressionAttributeValues should not have a type, it's odd that it works on the JavaScript Shell and CLI
respondido há 5 anos
0
Hi
I am glad you could fix the query to return items.
You can always refer to our documentation for Scan in node.js, https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.NodeJs.04.html#GettingStarted.NodeJs.04.Scan using which you can understand ways to construct the API parameters.
I hope this helps going forward.
Regard,
Almas
respondido há 5 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 6 meses
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 9 meses