课程: AWS for Developers: Step Functions
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Challenge: Pass parameters between Lambdas - Amazon Web Services (AWS)教程
课程: AWS for Developers: Step Functions
Challenge: Pass parameters between Lambdas
- (upbeat electronic music) - [Instructor] Are ready for a challenge? Let's get into it. So right now if I click here where it says In-transit Estimate we notice that it is different colors, not green, we have a problem here. Because now we have this input that says distance to Lambda and it has the distance that we calculated. But the problem is that's not where it's being expected by the choice state. So we scroll down here, let me see, we go down to the bottom where it says Execution Failed, and I open it. You'll see an error message that says, $ which is our input document .payload.body.distance, it appears to be invalid 'cause it cannot find it anymore. Since we added the output of the Lambda to a new note. So for the challenge, I need you to update the function so that the choice state can find the output of the Lambda where it is now, that's number one, number two, instead of ending right away after…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。