Before we discuss how to write code that can interact with DynamoDB, we will need to first cover some important concepts regarding the database. DynamoDB consists of the following components:
- Tables: Like a typical database engine, DynamoDB stores data in a collection of tables. For example, in our MyEvents application, we can have an events table that would store events information such as concert names and start dates. Similarly, we can also have a bookings table to host booking information for our users. We can also have a users table to store our users information.
- Items: Items are nothing more than the rows of the DynamoDB tables. Information inside an item is known as attributes. If we take the events table as an ...