I recently started working on API Gateway with DynamoDB. Its going really cool, as it is that easy to expose a database operation as a service using API Gateway.
I am currently looking at Data integrity side of things, as we are going to use this combo for a sensitive use case. How can I improve data integrity when I use API Gateway + DynamoDB.
This documentation from AWS explains 'Optimistic locking' from JAVA & .Net SDK perspective - http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBMapper.OptimisticLocking.html
But when I use dynamodb through API gateway, how can I enable 'Optimistic locking' ? As I won't be using Java / .Net SDKs. I don't see any related documentation.
Or I don't have to worry about Data integrity side of things, if I use API Gateway in front of DynamoDB. Just thinking this way, because even the update / getItem operation doesn't talk about it :)
Any thoughts ?
Cheers