Skip to Main Content
20200406PAIML-Raw-Unedited
book

20200406PAIML-Raw-Unedited

by Noah Gift, Alfredo Deza
December 2020
Intermediate to advanced content levelIntermediate to advanced
196 pages
3h 22m
English
Pragmatic AI Labs
Content preview from 20200406PAIML-Raw-Unedited

Chapter 6: Serverless

AWS Lambda

AWS Lambda is a building block for many things on AWS.

SCREENCAST: AWS Lambda as a Garage Lightbulb[

![](https://img.youtube.com/vi/nNKYwxf96bk/0.jpg)

](https://youtu.be/nNKYwxf96bk)

SCREENCAST: Hello World Lambda[

![](https://img.youtube.com/vi/Z6DhCYv42P4/0.jpg)

](https://youtu.be/Z6DhCYv42P4)

SCREENCAST: Marco Polo Lambda[

![](https://img.youtube.com/vi/AlRUeNFuObk/0.jpg)

](https://youtu.be/AlRUeNFuObk)

gist for Marco

1 def lambda_handler(event, context):
2   if event["name"] == "Marco":
3     return "Polo"

gist for Polo

1 def lambda_handler(event, context):
2   if event["name"] == "Polo":
3     return "Marco"

Developing AWS Lambda Functions with AWS Cloud9

Cloud9 has many capabilities built in the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Building Sensor Networks

Building Sensor Networks

Ioanis Nikolaidis, Krzysztof Iniewski

Publisher Resources

ISBN: 20200406PAIMLOtherPublisher Website