I want to store a user in DynamoDB. It has an ID, email & password hash.
Both the ID and email will be unique. I want to be able to look up the user object using either the ID or the Email.
How do I both create this table and query/get a user object with just the ID and then again with just the email?