added more retry conditions
changed core dynamo type from [Item] to Map Text DValue