8:22 - create role 9:13 - specify action 11:47 - lambda 23:29 - example code for getItem 26:11 - use json instead of dynamo json 29:52 - async / await 33:17 - put
Here I am, at 4am, following and successfully finishing this tutorial pleasantly and with a smile on my face. Sometimes I zone out following lenghty videos, but yours is super cohesive and easy to follow! Thank you so very much.
Nicely explained. I really like the pace of your explanation, you were calm and not like others who actually rushes to finish it off and make the story short. Well done
God bless you! Thanks for giving this tutorial for free. I am preparing for new job and need knowledge on AWS Lambda. May God bless you and your family!
Thank you SOOOOOO much for this fantastic video. It deservers 10M views and a badge of honor. I appreciate all the effort that went into it. Loved the video. It's inspiring me to create a few of my own. All the best Cloud Path!
You have a genuine gift for explaining concepts. Thank you so much for putting this together. I will be sharing this video at an upcoming Hackathon to help attendees set up their Lambda instances.
i got a error saying " * MissingRequiredParameter: Missing required key 'HashKeyElement' in params.Key * UnexpectedParameter: Unexpected key 'id' found in params.Key " and i even copied word for word and had capital S driving me nuts.
thanks Sameera, glad you found it useful! i do have a 'Create a Serverless App' tutorial series available here: ua-cam.com/video/VGerk8hrP9U/v-deo.html. anything else you'd like to see covered on this channel?
What an awesome tutorial, I learned a lot! Looks like the logs would have displayed the new item created if the ID is unique. With preexisting IDs it shows empty brackets.
Thanks for creating your AWS series, these are very helpful! I'd be interested in a more in depth Udemy course of this if available. Now we are copy pasting the code from local to AWS, I wonder if it is possible to keep writing the Lambda functions locally and with one Terminal command, deploy it to AWS. Or is creating a zip of it the only way?
@@BlockExplorerMedia I came across Serverless framework couple of days ago. Seems pretty interesting. May be what I was looking for. ua-cam.com/video/LXB2Nv9ygQc/v-deo.html
That was a good session.. I have a very basic question. Is it possible to store an js object like output of `new AWS.TemporaryCredentials( )` in dynamodb using nodeJs implementation? If yes, is there any samples around it.
hi Hemachandran, yes you can store a JS object in Dynamo. i just tried to do it this way (from the DynamoDB docs) and it worked ok: docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property Your json object would be the value of the 'Item.MapAttribute' property. The only thing I had to add was an id (my table required it as the primary key)
I think we have a different version of Lambda in Browser. You need to save with File -> Save Option. Then click Deploy. And then you will be able to test successfully.
Thanks for the video it helped me over the first hurdles. My next hurdle is to customize the query to return just the fields I want, and also related fields from other tables hopefully just like they do in GraphQL. I can't seem to find samples for lambda code using clientDocument or even the first way you did it. I found some examples using "ProjectionExpression" but...doesn't seem to be working. If you ever do a video on this I would enjoy it ;)
Thank you so much for making this video! Helped me a lot, but could you please show us how to create new record ( I understand if id we are passing doesn't match with any existing user's id it will create new user ) but I was thinking to create lambda function using post not put ? Thanking in advance
Thanks for the awesome video!👍 One question - Shouldn't the ids be auto generated uniquely for a new item? Otherwise how do we ensure not to pass an existing id? Do we need to look into DB each time?
Hi, thank you for this most needed videos series for the Data Engineers, do you have courses in Udemy? please share the link. Thanks for the amazing work.
Hi, I created a new AWS account and followed everything you demonstrated in your video. But when I tried to create a Lambda function, I got "Missing Authentication Token" error. I tried to google the error msg, but almost all the result pages are related to AWS API Gateway. Does anyone hit same issue previously? Any workaround? Thanks a lot
At 28:00 I got an error: "self.configure is not a function" And I'm sure I have the exact same code (I checked every line 10 times 😂) Could you help me with that? Great video btw!
boy has this chanegd. the aws impor doesn't wor anymore implicitly, which is the only reason i am frantically searching for a way to get this to work. Whywould they remove the abiliy to just import the aws sdk in the lambda?
8:22 - create role
9:13 - specify action
11:47 - lambda
23:29 - example code for getItem
26:11 - use json instead of dynamo json
29:52 - async / await
33:17 - put
40:35 forgot to confirm the return on a put after using a unique key.
Here I am, at 4am, following and successfully finishing this tutorial pleasantly and with a smile on my face.
Sometimes I zone out following lenghty videos, but yours is super cohesive and easy to follow! Thank you so very much.
Best tutorial for lambda after long time of searching. Thank you!
Love to hear that...thanks for the feedback!
Wow I'm impressed. I'd buy this on Udemy for sure. But you're generous enough to give this out for free. Subscribed and liked!
Link to the Udemy course plsz
Nicely explained. I really like the pace of your explanation, you were calm and not like others who actually rushes to finish it off and make the story short. Well done
Excellent material! Most other folks say "Dine a Moe DB" !
thanks! i know somebody else pointed that out too, lol. trying to retrain my brain my mangled pronunciation : )
Thanks too much!!!
My permanency in my current job was saved
That's awesome...glad to hear that!
God bless you! Thanks for giving this tutorial for free. I am preparing for new job and need knowledge on AWS Lambda. May God bless you and your family!
You are a gem....... perfectly explained...love from india ❤️
Why is your video much better than the official AWS-videos?
Thank you SOOOOOO much for this fantastic video. It deservers 10M views and a badge of honor. I appreciate all the effort that went into it. Loved the video. It's inspiring me to create a few of my own. All the best Cloud Path!
This was so helpful to me. I truly appreciate the video. It was very clear and concise as well as easy to follow. Thank you for your work!
really glad to hear that. thanks for your support!
You have a genuine gift for explaining concepts. Thank you so much for putting this together. I will be sharing this video at an upcoming Hackathon to help attendees set up their Lambda instances.
Excellent explanation. I like your exceptional teaching skill.
Awesome. This was so much more helpful that the Amazon online tutorials. Big help and thanks so much!
Cool Video!! Explained Lambda & Dynamo DB working in excellent way!
exactly agree with Jacari. Also your voice is beautifully soothing
If you get an error at around 25:35 saying something like "unexpected s found in query" make sure the s in the ID object is set to a capital S.
i got a error saying " * MissingRequiredParameter: Missing required key 'HashKeyElement' in params.Key
* UnexpectedParameter: Unexpected key 'id' found in params.Key " and i even copied word for word and had capital S driving me nuts.
This comment needs to be featured or pinned or something.
Just a note to say that you no longer need to specify the data type (ie. ‘S’) in your dynamodb object.
Thank you for this, it was very easy to follow. Well made man!
Thanks for that great tutorial, you have a nice voice to listen to. Thanks to you i understand the environment better.
Thanks dude, this series is pretty good and solid. I love it.
Awesome videos. I like the pace and amount of details.
thanks, appreciate it : )
The lesson is great. Probably the best i ever followed. Everything works at the end ;-). Thanks a lot!
Wow, I wish I had found this earlier. Thanks man. Very useful and very well explained. I would love to see a tutorial on Serverless framework from you
thanks Sameera, glad you found it useful! i do have a 'Create a Serverless App' tutorial series available here: ua-cam.com/video/VGerk8hrP9U/v-deo.html. anything else you'd like to see covered on this channel?
What a clear explanation, thank you sir. I really appreciate all the help you gave. Love respect.
Kudos to the guy. Really knowledge ful video.
Thanks Jang glad you found it helpful.
Got so much value out of it, thanks for sharing.
AMAZING! You are perfect to explain this
thanks Andrea...appreciate the support!
You saved my day, THANK YOU SOOOO MUCH
very helpful for me to understand the basic operation of AWS.
God bless you, fantastic tutorial!
Awesome Tutorial. Super!
What an awesome tutorial, I learned a lot! Looks like the logs would have displayed the new item created if the ID is unique. With preexisting IDs it shows empty brackets.
Excelent!! More than excelent. Thanks for this class!!!
Unreal tutorial. Thank you so much. Liked and subscribed.
You saved my day! I love you :)
i cant able to put and get data from dynamoDB please help?
Great tutorial/demo - thank you very much.
Well explained every steps.. thanks
Really Helped me alot👍
thanks man, im rookie in AWS and have to create app here :D great tut
Very nicely explained. Thanks for the tutorial.
Very well explained. Subbed!
Thank you so much for your videos. Your vioce is amazing and you explain very well. Thanks
Good. Thanks for the video. Appreciated.
8:29 i love how it recommends the name so you know this wasnt his first take haha
Thank you ... it was amazing lesson and a detailed one ...appreciate
help log wont show up in lambda functions after test cant see the table details, only shows
{
"statusCode": 200,
"body": "\"Hello from Lambda!\""
}
Before you test, save your script, then Deploy the changes and then test. I think the problem was not deploying before you test.
Hope this helps.
Great videos!!!
Thank you so much.
Very helpful video! Thanks
GREAT VIDEO ! Thank you.
Wow Amazing! You should honestly produce more content! Like another comment said, would definitely buy a Udemy course or any type of course from you.
thank you for your videos! say, why dynamodb doesnt say that you try to rewrite existing in the table item?
Fantastic tutorial, Thank you!
Thanks for this. Great tutorial!
thank you, sir, this is very helpful.
If I create a full-fledged app using AWS Lambda, do I have to create many roles and assign them manually for all the functions I create? Seems tiring.
hey, is this series included in the free tier
Thanks for creating this! :)
You are the best
@Cloud Path, the AWS app course that you mentioned is available now in Udemy?
Very nice tutorial. +9000
Thanks for creating your AWS series, these are very helpful! I'd be interested in a more in depth Udemy course of this if available.
Now we are copy pasting the code from local to AWS, I wonder if it is possible to keep writing the Lambda functions locally and with one Terminal command, deploy it to AWS. Or is creating a zip of it the only way?
there should be a few options for deploying a lambda without copy/paste or zip upload. hope to cover this in a tutorial video soon.
@@BlockExplorerMedia I came across Serverless framework couple of days ago. Seems pretty interesting. May be what I was looking for. ua-cam.com/video/LXB2Nv9ygQc/v-deo.html
Hi In this video you are adding an String value, how would you add a "list" for an array or a "Map" for an object?
Great tutorial, thank you.
hi there, how can you get all the data from the database, from this video it seems only get 1 at a time
thank you for this video!
Good. Thanks for the video.
You saved my life
That was a good session..
I have a very basic question. Is it possible to store an js object like output of `new AWS.TemporaryCredentials( )` in dynamodb using nodeJs implementation? If yes, is there any samples around it.
hi Hemachandran, yes you can store a JS object in Dynamo. i just tried to do it this way (from the DynamoDB docs) and it worked ok:
docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property
Your json object would be the value of the 'Item.MapAttribute' property. The only thing I had to add was an id (my table required it as the primary key)
i cant get my item from dynamoDB , and the response is :
{
"statusCode": 200,
"body": "\"Hello from Lambda!\""
}
can anyone help ?
I think we have a different version of Lambda in Browser. You need to save with File -> Save Option. Then click Deploy. And then you will be able to test successfully.
Great teacher!
Thanks for the video it helped me over the first hurdles. My next hurdle is to customize the query to return just the fields I want, and also related fields from other tables hopefully just like they do in GraphQL. I can't seem to find samples for lambda code using clientDocument or even the first way you did it. I found some examples using "ProjectionExpression" but...doesn't seem to be working. If you ever do a video on this I would enjoy it ;)
Looking for your udemy course . Is it published?
Amazing Tutorial! thank you
Thank you so much for making this video! Helped me a lot, but could you please show us how to create new record ( I understand if id we are passing doesn't match with any existing user's id it will create new user ) but I was thinking to create lambda function using post not put ? Thanking in advance
I notice we hard coded the users in our code, what if we just want to retrieve the data say from an ip without hard coding the user names.
This is awesome, super simple and works out of the box (Ignoring my IAM issues). Do you have a twitter?
oh also, Udemy Update?
i have a twitter account but haven't been using it much. Udemy...still working on that!
code doesnt work. apparently the amazon sdk was updated
hi Raul, thanks for the head's up. which part specifically doesn't work? I'll rerun my code as soon as I get a chance and update it if necessary.
@@BlockExplorerMedia i had to use this 'use strict'
const AWS = require('aws-sdk');
AWS.config.update({ region: "us-east-1"});
exports.handler = async (event, context) => {
const documentClient = new AWS.DynamoDB.DocumentClient({ region: "us-east-1"});
var params = {
TableName: "customers",
Key: {
"id": 2
}
};
try {
const data = await documentClient.get(params).promise();
console.log(data);
} catch (err) {
console.log(err);
}
};
Thanks for the awesome video!👍
One question - Shouldn't the ids be auto generated uniquely for a new item? Otherwise how do we ensure not to pass an existing id? Do we need to look into DB each time?
Thank you so much dude!!!
hey can one lambda perform 2 operations ? for example writing in ddb and sending request to sqs/sts ?
how can i save my results to a postgres DB or dynamoDB after hitting an endpoint via a lambda function
which font is this in VSCode?
Hi, thank you for this most needed videos series for the Data Engineers, do you have courses in Udemy? please share the link. Thanks for the amazing work.
Thanks...planning to do some Udemy courses in the future
Thank you! :D
The Best
Thanks Jiiiiiiiiang!
thank you so much !!!!!
nice tutorial
please make a tutorial on how to send data from AWS IoT to DynamoDB using Lambda
BRO U R just AWesomEEEEEE!!!!!!!!!!!!!!!!!!
Thanks a lot
Great Video Mate!
Hi, I created a new AWS account and followed everything you demonstrated in your video. But when I tried to create a Lambda function, I got "Missing Authentication Token" error. I tried to google the error msg, but almost all the result pages are related to AWS API Gateway. Does anyone hit same issue previously? Any workaround? Thanks a lot
thats a nice one
At 28:00 I got an error: "self.configure is not a function"
And I'm sure I have the exact same code (I checked every line 10 times 😂)
Could you help me with that?
Great video btw!
Hey...I hate nodejs. you have lamba python functions tutorial anywhere else?
my lambda functions are not calling please help me
boy has this chanegd. the aws impor doesn't wor anymore implicitly, which is the only reason i am frantically searching for a way to get this to work. Whywould they remove the abiliy to just import the aws sdk in the lambda?
Can I get the udemy link??