Tss 14 22 dynamodb in 244

we should share some of this code with function modifyAttributes.