def get_request_type(handler_input):
    """Return the type of the input request.

    The method retrieves the request ``type`` of the input request. More
    information about the different request types are mentioned here :
    https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html#request-body-parameters

    :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: Type value of the input request
    :rtype: str
    """
    return handler_input.request_envelope.request.object_type
