Database Reference
In-Depth Information
The command written in between the other two valid commands for put-item is not
valid as it gives me an error. Can you guess why? It's because I missed closing the --
item JSON (I missed out } before --return-consumed-capacity ).
Tip
Capacity unit is the measure of data size written into (or read from) DynamoDB. It is
rounded off to the next 1 KB size. What this means is, if we try to write 1.01 KB of data,
DynamoDB consumes 2 capacity units. Even while writing 1.99 KB (or even 2 KB) of
data, DynamoDB consumes 2 capacity units. Whenever we insert an item using the put-
item command (even if the item size is 0.2 KB), it will consume 1 capacity unit at least.
The following screenshot tries to scan a DynamoDB table. The command used to scan a
table with name Tbl_Book is aws dynamodb scan --table-name
Tbl_Book :
Search WWH ::




Custom Search