code: def test_model_explainability_monitor_update_failure(
      model_explainability_monitor, sagemaker_session
  ):
      model_explainability_monitor.create_monitoring_schedule(
          endpoint_input=ENDPOINT_NAME,
          analysis_config=ANALYSIS_CONFIG_S3_URI,
      )
      old_job_definition_name = (
          model_explainability_monitor.job_definition_name
      )
      sagemaker_session.sagemaker_client.describe_model_explainability_job_definition = Mock(
          return_value=copy.deepcopy(EXPLAINABILITY_JOB_DEFINITION)
      )
      sagemaker_session.sagemaker_client.update_monitoring_schedule = (
          Mock(side_effect=ConnectionError("400"))
      )
      with pytest.raises(ConnectionError):
          model_explainability_monitor.update_monitoring_schedule(
              max_runtime_in_seconds=NEW_MAX_RUNTIME_IN_SECONDS,
          )
      sagemaker_session.sagemaker_client.describe_model_explainability_job_definition.assert_called_once_with(
          JobDefinitionName=old_job_definition_name
      )
      sagemaker_session.sagemaker_client.delete_model_explainability_job_definition.assert_called_once()
      assert (
          sagemaker_session.sagemaker_client.delete_model_explainability_job_definition.call_args[
              1
          ][
              "JobDefinitionName"
          ]
          != old_job_definition_name
      )
  
imports: from __future__ import print_function, absolute_import
  import copy
  import json
  import time
  from mock import patch, Mock, MagicMock
  import pytest
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, SHAPConfig, ModelPredictedLabelConfig
  from sagemaker.model_monitor import BiasAnalysisConfig, Constraints, CronExpressionGenerator, EndpointInput, BatchTransformInput, ExplainabilityAnalysisConfig, ModelBiasMonitor, ModelExplainabilityMonitor, MonitoringExecution, NetworkConfig
  from sagemaker.model_monitor.clarify_model_monitoring import ClarifyModelMonitor, ClarifyBaseliningJob, ClarifyMonitoringExecution
  from sagemaker.model_monitor.dataset_format import MonitoringDatasetFormat
label_desc: Use image node_id 40 for calling a global function with example usage: test_model_explainability_monitor_update_failure(model_explainability_monitor, sagemaker_session) without return types