Use optimistic locking to put DynamoDB records with auto-incrementing attributes. This is a Python port of https://github.com/nasa-gcn/dynamodb-autoincrement. Inspired by:
- https://aws.amazon.com/blogs/aws/new-amazon-dynamodb-transactions/
- https://bitesizedserverless.com/bite/reliable-auto-increments-in-dynamodb/
This package currently depends on code that is in a pull request for boto3 that is not yet merged or released. See boto/boto3#4010.