课程: AWS for Developers: Data-Driven Serverless Applications with Kinesis
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Challenge: Enrichment and transformation of events - Amazon Web Services (AWS)教程
课程: AWS for Developers: Data-Driven Serverless Applications with Kinesis
Challenge: Enrichment and transformation of events
(upbeat music) - [Instructor] In this challenge, you need to add a transformation for the events that go through the pipe to the event-driven part. In your demo, the client's applications are diverse and might have sent data formatted in different ways. This applies mostly to the date in which the event was created. Some clients are in the US and (indistinct) first the months, others in Europe and (indistinct) the day first. In this challenge, you need to add a Lambda function in the pipe that will transform all the dates into epoch, so the backend receives the date in a standardized manner. For doing that, you can use the JavaScript date library. Here you have an example of a record with the date, with the month first, and how the record should look after the transformation. Here you have an example of a record with the date and the day first and how the record should look after the transformation. This task should…