Is this still supported? The new AWS Console doesn't have AWS Service (or AWS DynamoDB) as an option (like at timestamp 9:34 in your video). I also couldn't find any documentation stating if anything had changed.
Hello Chirag, The video was infomative and very helpful. Thank you for the video!!! I had one more question- can we do batchwrite into dynamo db? Which means can we write or update multiple items into dynamo db using api gateway at once?
Thanks for stopping by cristian alfonso. To fetch multiple records without Key, you can use the scan() method. scan() method can scan the records up to a maximum of 1 MB and once it reaches that threshold the results are returned to the user as a LastEvaluatedKey value to continue the scan in a subsequent operation. You can read the documentation for more. Also, scan() is very expensive. I hope this helps. Please like, share & subscribe. :)
Thanks a lot for your video! I learned a lot! I had an issue in the Mapping Templates not working for me.. { "TableName": "api-demo", "Item": { "id": {"S": "$context.requestId"}, "message": {"S": "$input.json('$.message')"}, "token": {"S": "$input.param('tokenvalue')"} } }
This works for me: { "TableName": "PFD_USER_EXPENSES", "Item": { "user_id": {"S": "$context.requestId"}, "message": {"S": $input.json('$.message')}, "token": {"S": "$input.params('tokenvalue')"} } } you had double quotes in your message value
Excellent, thank you. Just helped me out with a work project. Saves using a lambda to create the item in table!
Glad it helped! Please like, share & subscribe :)
Very nice! Saved me hours of Googling.
Glad it helped! Please like, share & subscribe :)
Excellent tutorial, thank your for your efforts with this!
Glad it was helpful! Please like, share & subscribe. :)
Is this still supported? The new AWS Console doesn't have AWS Service (or AWS DynamoDB) as an option (like at timestamp 9:34 in your video). I also couldn't find any documentation stating if anything had changed.
Hello Chirag,
The video was infomative and very helpful. Thank you for the video!!!
I had one more question- can we do batchwrite into dynamo db? Which means can we write or update multiple items into dynamo db using api gateway at once?
How to create an api just to read data from dynamo, I want to do a test load using locust so I wanted to stress the DB. Is this possible?
thanks a lot ,very invormative
Glad it was helpful! Please like, share & subscribe. :)
Nice one bro...please do videos on ec2 and load balancing
Will work on the same soon. Please stay tuned. Please like, share & subscribe. :)
Good content
I am glad that you found the it helpful. Please like, share & subscribe :)
Thanks! :)
Do a video on external api data to dynamoDB table
Awesome
Glad that you found the video helpful. Please like, share & subscribe. :)
@@SrceCde sure👍
how you retrieve all the records in DynamoDB instead of giving a specific ID
Thanks for stopping by cristian alfonso. To fetch multiple records without Key, you can use the scan() method. scan() method can scan the records up to a maximum of 1 MB and once it reaches that threshold the results are returned to the user as a LastEvaluatedKey value to continue the scan in a subsequent operation. You can read the documentation for more. Also, scan() is very expensive. I hope this helps. Please like, share & subscribe. :)
Thanks a lot for your video!
I learned a lot!
I had an issue in the Mapping Templates
not working for me..
{
"TableName": "api-demo",
"Item": {
"id": {"S": "$context.requestId"},
"message": {"S": "$input.json('$.message')"},
"token": {"S": "$input.param('tokenvalue')"}
}
}
This works for me:
{
"TableName": "PFD_USER_EXPENSES",
"Item": {
"user_id": {"S": "$context.requestId"},
"message": {"S": $input.json('$.message')},
"token": {"S": "$input.params('tokenvalue')"}
}
}
you had double quotes in your message value
You dont need to give " " when you using payload but in case of QUERY STRING you need to give " ".. so remove " " from message