c = boto.connect_dynamodb()
t = c.get_table('counter')
item = t.get_item('counter')
item
item.add_attribute('n', 20)
item.save()
item
item = t.get_item('counter')
item
Update DynamoDB Atomic Counter with Python / Boto