'Allows the execution of custom code between creation of the zip file and deployment to AWS.
:return: None'

def callback(self, position):

    callbacks = self.stage_config.get(u'callbacks', {})
    callback = callbacks.get(position)
    if callback:
        (mod_path, cb_func_name) = callback.rsplit(u'.', 1)
        try:
            if (mod_path.count(u'.') >= 1):
                (mod_folder_path, mod_name) = mod_path.rsplit(u'.', 1)
                mod_folder_path_fragments = mod_folder_path.split(u'.')
                working_dir = os.path.join(os.getcwd(), *mod_folder_path_fragments)
            else:
                mod_name = mod_path
                working_dir = os.getcwd()
            working_dir_importer = pkgutil.get_importer(working_dir)
            module_ = working_dir_importer.find_module(mod_name).load_module(mod_name)
        except (ImportError, AttributeError):
            try:
                module_ = importlib.import_module(mod_path)
            except ImportError:
                raise ClickException((((click.style(u'Failed    ', fg=u'red') + u'to    ') + click.style(u'import    {position}    callback    '.format(position=position), bold=True)) + u'module:    "{mod_path}"'.format(mod_path=click.style(mod_path, bold=True))))
        if (not hasattr(module_, cb_func_name)):
            raise ClickException(((((click.style(u'Failed    ', fg=u'red') + u'to    ') + click.style(u'find    {position}    callback    '.format(position=position), bold=True)) + u'function:    "{cb_func_name}"    '.format(cb_func_name=click.style(cb_func_name, bold=True))) + u'in    module    "{mod_path}"'.format(mod_path=mod_path)))
        cb_func = getattr(module_, cb_func_name)
        cb_func(self)
