DynamoDB get item by key by providing an object with the hash annd/or the optional range properties