You can now call a lambda function in the SQL statement of your rule by calling it in the SELECT statement to enrich IoT message data with external services like weather, geo-location, and maps. You can also call a lambda function from the WHERE clause to evaluate a condition with context from external services. For example, you can evaluate if the reported device position lies inside or outside a geographic area by calling an external geo-fencing endpoint like HERE maps (sample) and then triggering an SNS Action if it lies outside the area.