code: def get_model_url(
      model_id: str,
      model_version: str,
      region: str = JUMPSTART_DEFAULT_REGION_NAME,
      sagemaker_session: Session = DEFAULT_JUMPSTART_SAGEMAKER_SESSION,
  ) -> str:
      """Retrieve web url describing pretrained model.
  
      Args:
          model_id (str): The model ID for which to retrieve the url.
          model_version (str): The model version for which to retrieve the url.
          region (str): Optional. The region from which to retrieve metadata.
              (Default: JUMPSTART_DEFAULT_REGION_NAME)
          sagemaker_session (sagemaker.session.Session): Optional. The SageMaker Session to use
              to retrieve the model url.
      """
  
      model_specs = verify_model_region_and_return_specs(
          region=region,
          model_id=model_id,
          version=model_version,
          sagemaker_session=sagemaker_session,
          scope=JumpStartScriptScope.INFERENCE,
      )
      return model_specs.url
  
imports: from __future__ import absolute_import
  import copy
  from concurrent.futures import ThreadPoolExecutor, as_completed
  from functools import cmp_to_key
  import json
  from typing import Any, Generator, List, Optional, Tuple, Union, Set, Dict
  from packaging.version import Version
  from sagemaker.jumpstart import accessors
  from sagemaker.jumpstart.constants import DEFAULT_JUMPSTART_SAGEMAKER_SESSION, JUMPSTART_DEFAULT_REGION_NAME
  from sagemaker.jumpstart.enums import JumpStartScriptScope
  from sagemaker.jumpstart.filters import SPECIAL_SUPPORTED_FILTER_KEYS, BooleanValues, Identity, SpecialSupportedFilterKeys
  from sagemaker.jumpstart.filters import Constant, ModelFilter, Operator, evaluate_filter_expression
  from sagemaker.jumpstart.types import JumpStartModelHeader, JumpStartModelSpecs
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket, get_sagemaker_version, verify_model_region_and_return_specs
  from sagemaker.session import Session
label_desc: Use image node_id 11 for calling a global function with example usage: get_model_url(model_id, model_version, region, sagemaker_session) and returns: model_specs