Mulai sekarangMulai gratis

Writing a handler that reads input

A Lambda function is just code, but writing it well means being explicit about inputs and outputs. In practice, you will read the incoming event, log what you need for debugging, and return a predictable response format.

In this exercise, you'll update your function to read a value from the test event, use a default when the key is missing, and return a structured response.

Latihan ini merupakan bagian dari kursus

Serverless Applications with AWS Lambda

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan