def METHOD_NAME(
    ctx: Context,
    stack_name: str,
    resource_id: str,
    event: str,
    event_file: TextIOWrapper,
    output: RemoteInvokeOutputFormat,
    parameter: dict,
    config_file: str,
    config_env: str,
) -> None:
    """
    `sam remote invoke` command entry point
    """
    do_cli(
        stack_name,
        resource_id,
        event,
        event_file,
        output,
        parameter,
        ctx.region,
        ctx.profile,
        config_file,
        config_env,
    )