code: def model_monitor_arguments(sagemaker_session):
      return ModelMonitor(
          role=ROLE,
          instance_count=INSTANCE_COUNT,
          instance_type=INSTANCE_TYPE,
          volume_size_in_gb=VOLUME_SIZE_IN_GB,
          volume_kms_key=VOLUME_KMS_KEY,
          output_kms_key=OUTPUT_KMS_KEY,
          max_runtime_in_seconds=MAX_RUNTIME_IN_SECONDS,
          base_job_name=BASE_JOB_NAME,
          sagemaker_session=sagemaker_session,
          env=ENVIRONMENT,
          tags=TAGS,
          network_config=NETWORK_CONFIG,
          image_uri=DefaultModelMonitor._get_default_image_uri(REGION),
      )
  
imports: from __future__ import absolute_import
  import copy
  import time
  from typing import Union
  import sagemaker
  import pytest
  from mock import Mock, patch, MagicMock
  from sagemaker.model_monitor import ModelMonitor, Constraints, CronExpressionGenerator, DefaultModelMonitor, EndpointInput, BatchTransformInput, ModelQualityMonitor, Statistics, MonitoringOutput, DataQualityMonitoringConfig, DataQualityDistributionConstraints
  from sagemaker.model_monitor.monitoring_alert import MonitoringAlertSummary, MonitoringAlertHistorySummary, MonitoringAlertActions, ModelDashboardIndicatorAction
  from sagemaker.network import NetworkConfig
  from sagemaker.model_monitor.dataset_format import MonitoringDatasetFormat, DatasetFormat
  from tests.unit import SAGEMAKER_CONFIG_MONITORING_SCHEDULE
label_desc: Use image node_id 4 for calling a global function with example usage: model_monitor_arguments(sagemaker_session) and returns: ModelMonitor