From the course: AWS for Developers: Data-Driven Serverless Applications with Kinesis (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: API Gateway and Lambda

Challenge: API Gateway and Lambda - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: Data-Driven Serverless Applications with Kinesis (2019)

Start my 1-month free trial

Challenge: API Gateway and Lambda

(upbeat music) - [Instructor] Now that we have developed together part of a serverless project with serverless framework and AWS resources, it's time for you to practice on your own. For that I have a challenge for you. Your challenge is to build an APA gateway and AWS lambda that will get triggered when the gateway users completes and order. Your lambda should update the order metadata into DynamoDB Table and also send a message to the screen with the type order fulfilled. You need to create a new APA gateway with an endpoint with the path/order/fulfill and the method post. The body of the HTTP request will contain an order and a fulfillment ID. The order is what we get back when we create a new order. The fulfillment ID is an imaginary ID that (mumbles). It is a random string that will represent the (mumbles) for the user. We already have a DynamoDB Table that stores this information, now we want to add some new fields to update the table. The fulfillment ID is the one that we get…

Contents