code: def test_tb_invalid_presigned_kwargs():
      invalid_kwargs = {
          "fake-parameter": True,
          "DomainId": TEST_DOMAIN,
          "UserProfileName": TEST_USER_PROFILE,
      }
  
      with pytest.raises(botocore.exceptions.ParamValidationError):
          TensorBoardApp(TEST_REGION).get_app_url(
              optional_create_presigned_url_kwargs=invalid_kwargs,
              create_presigned_domain_url=True,
          )
  
imports: from __future__ import absolute_import
  import json
  from unittest.mock import patch, Mock, mock_open, PropertyMock
  import boto3
  import botocore
  import pytest
  from sagemaker.interactive_apps.tensorboard import TensorBoardApp
label_desc: Use image node_id 8 for calling a global function with example usage: test_tb_invalid_presigned_kwargs() without return types