fixed issue #427 in order to be able to set dynamo db api version