def get_locale(handler_input):
    """Return locale value from input request.

    The method returns the ``locale`` value present in the request. More
    information about the locale can be found here :
    https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html#request-locale

    :param handler_input: The handler input instance that is generally
        passed in the sdk's request and exception components
    :type handler_input: ask_sdk_core.handler_input.HandlerInput
    :return: Locale value from the request
    :rtype: str
    """
    return handler_input.request_envelope.request.locale
