def METHOD_NAME(
    self,
    parameter_overrides,
    config_env=DEFAULT_ENV,
    config_file=None,
    signing_profiles=None,
    image_repositories=None,
    **kwargs,
):
    ctx, samconfig = self.get_config_ctx(config_file)
    cmd_names = get_cmd_names(ctx.info_name, ctx)
    for key, value in kwargs.items():
        v = value
        if isinstance(v, (list, tuple)):
            v = " ".join(val for val in v)
        if v:
            samconfig.put(cmd_names, self.section, key, v, env=config_env)
    self._save_parameter_overrides(cmd_names, config_env, parameter_overrides, samconfig)
    self._save_image_repositories(cmd_names, config_env, samconfig, image_repositories)
    self._save_signing_profiles(cmd_names, config_env, samconfig, signing_profiles)
    samconfig.flush()
    click.echo("\n\tSaved arguments to config file")
    click.echo("\tRunning 'sam deploy' for future deployments will use the parameters saved above.")
    click.echo("\tThe above parameters can be changed by modifying samconfig.toml")
    click.echo(
        "\tLearn more about samconfig.toml syntax at "
        "\n\thttps://docs.aws.amazon.com/serverless-application-model/latest/"
        "developerguide/serverless-sam-cli-config.html\n"
    )