In this video, learn how to send information to the stream and create a new order in the stream.
- [Presenter] So now, … let's move on to the handler file. … And here now we are going to … graph the order from the request body … that we are getting from APA gateway, … and then we are going to save that order … in the table and in the stream. … So first, … we need to create the order option. … So let's start by doing that. … So as I said, … the order will come in the body, … so let's grab the body from the event option. … If you took a look at the event body … when we printed out in the previous video, … you will see that there is this body, … and that's the http body of the request. … There, … the user will send all the information … that we need from the cake order. … For example, … the name and the address where we need … to deliver this cake, … the cake ID or product ID, … the quantity, … how many cakes they want, … and things like that. … So we will get that. … And then we need to create this order. … For that, … I like to do it outside this file … because the smaller this file is, …
- Backend as a service (BaaS)
- Function as a service (FaaS)
- Why infrastructure as code is so important
- Creating an order
- Setting up DynamoDB
- Saving into a DynamoDB table
- Using AWS SDK
- Sending a message to the stream
- Deploying and testing an application
- Cleaning up an AWS environment
Skill Level Intermediate
AWS for Developers: AWS AppSync with GraphQLwith Bear Cahill1h 25m Intermediate
Introduction to AWS DeepLenswith Jonathan Fernandes33m 50s Intermediate
What you should know1m 27s
1. Get Started with Serverless
2. Get Started with Kinesis
3. SNS, SQS, and Kinesis
4. Lifecycle of a Message in the Stream
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.