Why did you go with a non-relational database?
This is a great presentation about this: https://youtu.be/6yqfmXiZTlM?t=1447
The link you posted is a really good resource for someone who wants to start using DynamoDB though.
You can create relationships on flat text files. It doesn't mean that you have a relational database now.