1 00:00:00,090 --> 00:00:01,410 ‫Okay, so now let's talk 2 00:00:01,410 --> 00:00:04,650 ‫about the different API we can set up in the API Gateway. 3 00:00:04,650 --> 00:00:05,610 ‫So far in this course, 4 00:00:05,610 --> 00:00:08,400 ‫we've been using the REST API, but there's two other kinds. 5 00:00:08,400 --> 00:00:10,860 ‫There's the HTTP API, and the WebSocket. 6 00:00:10,860 --> 00:00:13,110 ‫And I will just describe at a high level what they are. 7 00:00:13,110 --> 00:00:14,880 ‫I don't think they come up in the exam just yet, 8 00:00:14,880 --> 00:00:18,510 ‫maybe WebSocket, but just, again, at a high level. 9 00:00:18,510 --> 00:00:22,620 ‫So, the first is HTTP API, and they're low latency, 10 00:00:22,620 --> 00:00:26,610 ‫cost effective AWS Lambda proxy, HTTP proxy API, 11 00:00:26,610 --> 00:00:28,050 ‫and private integration. 12 00:00:28,050 --> 00:00:30,390 ‫So, as you can see, it's all proxy. 13 00:00:30,390 --> 00:00:33,270 ‫There is no data mapping available to us. 14 00:00:33,270 --> 00:00:36,060 ‫And it supports only a few kind of authorizations. 15 00:00:36,060 --> 00:00:38,820 ‫So, OIDC, and Oauth 2.0. 16 00:00:38,820 --> 00:00:41,280 ‫And there's also built-in support for CORS, 17 00:00:41,280 --> 00:00:44,190 ‫but you won't find any usage plan, or API keys. 18 00:00:44,190 --> 00:00:47,490 ‫So, they're a very low cost alternative to the API Gateway. 19 00:00:47,490 --> 00:00:49,770 ‫They're newer, they're horribly named, 20 00:00:49,770 --> 00:00:51,480 ‫they're just more simple. 21 00:00:51,480 --> 00:00:53,850 ‫And the REST API has all the features 22 00:00:53,850 --> 00:00:54,930 ‫we've seen in this course, 23 00:00:54,930 --> 00:00:58,680 ‫except that Native OpenID Connect, Oauth 2.0. 24 00:00:58,680 --> 00:01:01,020 ‫And so, you can find a link highlighting the differences 25 00:01:01,020 --> 00:01:03,150 ‫between HTTP and REST API. 26 00:01:03,150 --> 00:01:06,150 ‫But what you have to remember at a high level for the exam, 27 00:01:06,150 --> 00:01:09,000 ‫is that HTTP API's are going to be much cheaper 28 00:01:09,000 --> 00:01:10,920 ‫than REST APIs. 29 00:01:10,920 --> 00:01:13,560 ‫And they have a slight difference in terms of support. 30 00:01:13,560 --> 00:01:16,620 ‫For example, REST API supports resource policies, 31 00:01:16,620 --> 00:01:18,540 ‫whereas HTTP API's don't. 32 00:01:18,540 --> 00:01:20,010 ‫All right, so that's it. 33 00:01:20,010 --> 00:01:20,910 ‫I hope you liked it, 34 00:01:20,910 --> 00:01:22,983 ‫and I will see you in the next lecture.