BaşlayınÜcretsiz Başlayın

A barebones transformational lambda

You got asked by one of your European coworkers to convert all the speed data coming in to kilometers as part of the lambda transformation function.

For each record coming in, convert the speed to kilometers per hour instead of miles per hour.

The base64 module has been imported for you, and the output empty list is available in your environment.

Bu egzersiz

Streaming Data with AWS Kinesis and Lambda

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

for record in event['records']:
    #Decode the incoming data and convert it to a list
    payload_dec = base64.____(record['data']).decode().split(" ")
Kodu Düzenle ve Çalıştır