'How to get location and country name in AWS Lambda events

To get IP address I use something like this

event.requestContext.identity.sourceIp

How do I get location and country similar to this?

I was trying something like this:

event.requestContext.location


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source