With the DynamoDB API, you use the PutItem operation to add an item to a table.
DynamoDB provides the GetItem action for retrieving an item by its primary key. GetItem is highly efficient because it provides direct access to the physical location of the item. (For more information, see Partitions and data distribution.)
By default, GetItem returns the entire item with all of its attributes.