code: def test_s3_build_missing_param() -> None:
      conf = copy.deepcopy(default_conf)
      del conf["bucket"]
  
      with pytest.raises(KeyError):
          env = test_util.get_dummy_env()
          tensorboard.build(
              env.det_cluster_id,
              env.det_experiment_id,
              env.det_trial_id,
              conf,
              async_upload=False,
          )
  
file_path: determined/harness/tests/tensorboard/test_s3.py
imports: import copy
  import os
  import pathlib
  from typing import Optional
  import pytest
  from _pytest import monkeypatch
  from boto3 import exceptions
  from determined import tensorboard
  from tests import s3
  from tests.tensorboard import test_util
label_desc: Use image node_id 2 for calling a global function with example usage: test_s3_build_missing_param() without return types