1 00:00:00,340 --> 00:00:01,520 ‫So very shortly, 2 00:00:01,520 --> 00:00:03,960 ‫let's have a look at the different options 3 00:00:03,960 --> 00:00:05,130 ‫into each stage. 4 00:00:05,130 --> 00:00:07,060 ‫So each stage has its own settings, 5 00:00:07,060 --> 00:00:08,839 ‫and so for each stage we can define the cache 6 00:00:08,839 --> 00:00:10,172 ‫at the stage level, 7 00:00:10,172 --> 00:00:12,730 ‫we can define method throttling to ensure 8 00:00:12,730 --> 00:00:15,000 ‫that some of us are not called too often, 9 00:00:15,000 --> 00:00:16,993 ‫we can define firewall rules with WAF, 10 00:00:16,993 --> 00:00:20,530 ‫client certificates if you want to have SSL login, 11 00:00:20,530 --> 00:00:22,270 ‫then we have logs and tracing, 12 00:00:22,270 --> 00:00:25,440 ‫so we can enable CloudWatch logs at the stage level, 13 00:00:25,440 --> 00:00:27,073 ‫as well as some detailed CloudWatch metrics, 14 00:00:27,073 --> 00:00:28,950 ‫and access logging; 15 00:00:28,950 --> 00:00:31,280 ‫and finally, we can enable integration 16 00:00:31,280 --> 00:00:33,846 ‫between the API gateway and the X-Ray. 17 00:00:33,846 --> 00:00:36,010 ‫Then, for stage variables, we've seen those 18 00:00:36,010 --> 00:00:37,360 ‫so we can set the said variables here, 19 00:00:37,360 --> 00:00:39,540 ‫we can have many of those and they're available 20 00:00:39,540 --> 00:00:41,520 ‫to run in the function and we can have 21 00:00:41,520 --> 00:00:44,540 ‫some dynamicity in our API gateway through them. 22 00:00:44,540 --> 00:00:46,160 ‫So they are very powerful. 23 00:00:46,160 --> 00:00:48,655 ‫SDK generation, to generate some code automatically 24 00:00:48,655 --> 00:00:49,979 ‫based on what you want, 25 00:00:49,979 --> 00:00:51,440 ‫so if you want some Ruby code, 26 00:00:51,440 --> 00:00:52,857 ‫you would define service name and click on 27 00:00:52,857 --> 00:00:54,306 ‫"generate SDK", and there you would go. 28 00:00:54,306 --> 00:00:57,076 ‫Export to export your API as either 29 00:00:57,076 --> 00:01:00,163 ‫Swagger or OpenAPI 3, 30 00:01:00,163 --> 00:01:01,864 ‫and this would generate some code that 31 00:01:01,864 --> 00:01:03,880 ‫can be useful for your clients 32 00:01:03,880 --> 00:01:06,370 ‫to generate some code on your machine. 33 00:01:06,370 --> 00:01:07,450 ‫Then deployment history, 34 00:01:07,450 --> 00:01:08,690 ‫which shows you all the deployments that 35 00:01:08,690 --> 00:01:11,690 ‫have happened into your prod stage for example. 36 00:01:11,690 --> 00:01:13,887 ‫Documentation history if you document your stage, 37 00:01:13,887 --> 00:01:15,775 ‫and finally Canary, 38 00:01:15,775 --> 00:01:17,870 ‫to do Canary deployments and we'll see this 39 00:01:17,870 --> 00:01:19,190 ‫in the very next lecture. 40 00:01:19,190 --> 00:01:20,023 ‫So that's it, 41 00:01:20,023 --> 00:01:20,856 ‫hope you liked this one. 42 00:01:20,856 --> 00:01:22,470 ‫Very, very short one, but good to see 43 00:01:22,470 --> 00:01:24,420 ‫and I will see you in the next lecture.