@staticmethod
def preprocess_event(path='/', method='GET', body=None, query=None,
    path_parameters=None, headers=None, base64_encoded=False):
    """
        Preprocess event to build the standard event object.

        :param path:
        :param method:
        :param body:
        :param query:
        :param path_parameters:
        :param headers:
        :param base64_encoded:
        :return:
        """
    return {'path': path, 'httpMethod': method, 'isBase64Encoded':
        base64_encoded, 'queryStringParameters': query, 'headers': headers,
        'pathParameters': path_parameters, 'body': body}
