Challenge: Using a Serializer and Context
Test yourself by applying a JSON serializer and extracting information from the context object.
The following playground contains an AWS Lambda application. If we build and launch the project, it will compile. However, if we try to trigger the function, it won’t work, and we’ll receive an error. This is because we have a component missing and our input parameter can’t be interpreted correctly. Our goal is to add the missing component in an appropriate place and make the function handler operational.
There’s another task we need to accomplish. Our output must contain the amount of memory available to the function in megabytes.
Get hands-on with 1400+ tech skills courses.