def METHOD_NAME(client, config):
    # ensure the new index is added to the alias used for incremental loads.
    # If the alias is on multiple indexes, the loads will fail!
    logger.info(format_log(f"Putting alias '{config['write_alias']}' on {config['index_name']}", action="ES Alias"))
    put_alias(client, config["index_name"], config["write_alias"], {})