aristidb / aws

Amazon Web Services for Haskell
BSD 3-Clause "New" or "Revised" License
238 stars 107 forks source link

DynamoDB conditions: Missing `attribute_not_exists`? #267

Open nomeata opened 4 years ago

nomeata commented 4 years ago

I am trying to write a PutEvent that checks that the item does not already exist, as per https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html#Expressions.ConditionExpressions.PreventingOverwrites, but it seems that attribute_not_exists is missing from CondOp?

aristidb commented 4 years ago

Happy to take a PR that adds it! :)

nomeata commented 4 years ago

Still a very early user of DynamoDB and aws here… maybe some other time when I feel more confident :-)