1
00:00:00,210 --> 00:00:05,940
In this video we are going to use read item in batch for Dynamo DB table.

2
00:00:05,970 --> 00:00:11,200
For that purpose, please open the documentation and we are going to use batch gate item command.

3
00:00:11,220 --> 00:00:16,980
If you click this command, you can see the example usage and this is the command and here is the our

4
00:00:16,980 --> 00:00:17,470
input.

5
00:00:17,490 --> 00:00:22,470
If you check the our input again, we see the request items, but this time we will provide the only

6
00:00:22,470 --> 00:00:25,170
key information to get batch items.

7
00:00:25,290 --> 00:00:26,100
To do so.

8
00:00:26,130 --> 00:00:29,280
Please open the red badges.

9
00:00:29,280 --> 00:00:36,330
So please open the visitor code and go to read batch JS that we have implemented for this action.

10
00:00:36,420 --> 00:00:42,570
As you can see that everything is same, only the command is changed, batch get item command and the

11
00:00:42,570 --> 00:00:45,330
parameters you can see the parameters in here.

12
00:00:45,360 --> 00:00:51,840
Again, we see the request items product is our dynamo DB table name and we provide the key information

13
00:00:51,840 --> 00:00:58,560
which is the partition K number one and number two and we can give the some projection expressions,

14
00:00:58,560 --> 00:01:01,650
which is the attributes of our table.

15
00:01:01,650 --> 00:01:05,610
So let's run these JS file and see what happened.

16
00:01:05,610 --> 00:01:09,690
We will run, not read batch JS hit enter.

17
00:01:09,810 --> 00:01:16,560
See that we get the 200 success response and the response come is an object because it is returning

18
00:01:16,740 --> 00:01:17,640
JSON object.

19
00:01:17,640 --> 00:01:19,800
That's why we can see the object in here.

20
00:01:19,890 --> 00:01:24,900
As you can see that we have finished the get batch item and in the next video we are going to learn

21
00:01:24,900 --> 00:01:27,000
querying and scanning dynamo DB table.
