another attempt at controlling dynamo db