Update DynamoDB Atomic Counter with Python / Boto
问题 I am trying to update an atomic count counter with Python Boto 2.3.0, but can find no documentation for the operation. It seems there is no direct interface, so I tried to go to "raw" updates using the layer1 interface, but I was unable to complete even a simple update. I tried the following variations but all with no luck dynoConn.update_item(INFLUENCER_DATA_TABLE, {'HashKeyElement': "9f08b4f5-d25a-4950-a948-0381c34aed1c"}, {'new': {'Value': {'N':"1"}, 'Action': "ADD"}}) dynoConn.update_item