课程: Building Dynamic Websites using AWS Lambdas
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Convert your Lambda to run synchronously - Amazon Web Services (AWS)教程
课程: Building Dynamic Websites using AWS Lambdas
Convert your Lambda to run synchronously
- [Instructor] I'm a developer. This is probably not a revelation to you if you've been following along. But I think more important than almost anything else to me is time. I like things to go fast, I'm impatient by nature, and for the most part of the developers I know are similar. And so I'm going to help you right now and save you some time. I'm going to help you not have to be as patient as I had to be when I tracked down a really annoying problem in the Lambda as we have written. And here's what's going on. If you go up to the top, you see this initial line that was provided for us. And what it's doing is defining my lambda function as asynchronous. That's what that async means. What that means practically is this function will run and anything that it kicks off, for instance, sending an email in our ses.sendemail function will be queued up and the lambda function itself will go ahead and return this…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
(已锁定)
Submit to an API with JavaScript6 分钟 28 秒
-
(已锁定)
Test your new JavaScript submission2 分钟 59 秒
-
(已锁定)
Deal with the dreaded CORS problem3 分钟 58 秒
-
(已锁定)
Challenge: Update your HTML with the Lambda response2 分钟 32 秒
-
(已锁定)
Solution: Update your HTML with the Lambda response4 分钟 20 秒
-
(已锁定)
Get SES ready for sending email2 分钟 43 秒
-
(已锁定)
Give your Lambda function permissions to use SES4 分钟 15 秒
-
(已锁定)
Send an email from your Lambda function5 分钟 54 秒
-
(已锁定)
Convert your Lambda to run synchronously5 分钟 17 秒
-
(已锁定)
Challenge: Add in the information from the feedback form to your Lambda function1 分钟 48 秒
-
(已锁定)
Solution: Add in the information from the feedback form to your Lambda function3 分钟 47 秒
-
(已锁定)
-
-