code: def test_jumpstart_cache_accepts_input_parameters():
      region = "us-east-1"
      max_s3_cache_items = 1
      s3_cache_expiration_horizon = datetime.timedelta(weeks=2)
      max_semantic_version_cache_items = 3
      semantic_version_cache_expiration_horizon = datetime.timedelta(
          microseconds=4
      )
      bucket = "my-amazing-bucket"
      manifest_file_key = "some_s3_key"
  
      cache = JumpStartModelsCache(
          region=region,
          max_s3_cache_items=max_s3_cache_items,
          s3_cache_expiration_horizon=s3_cache_expiration_horizon,
          max_semantic_version_cache_items=max_semantic_version_cache_items,
          semantic_version_cache_expiration_horizon=semantic_version_cache_expiration_horizon,
          s3_bucket_name=bucket,
          manifest_file_s3_key=manifest_file_key,
      )
  
      assert cache.get_manifest_file_s3_key() == manifest_file_key
      assert cache.get_region() == region
      assert cache.get_bucket() == bucket
      assert cache._s3_cache._max_cache_items == max_s3_cache_items
      assert (
          cache._s3_cache._expiration_horizon
          == s3_cache_expiration_horizon
      )
      assert (
          cache._model_id_semantic_version_manifest_key_cache._max_cache_items
          == max_semantic_version_cache_items
      )
      assert (
          cache._model_id_semantic_version_manifest_key_cache._expiration_horizon
          == semantic_version_cache_expiration_horizon
      )
  
imports: from __future__ import absolute_import
  import copy
  import datetime
  import io
  import json
  from unittest.mock import Mock, call, mock_open
  from botocore.stub import Stubber
  import botocore
  from mock.mock import MagicMock
  import pytest
  from mock import patch
  from sagemaker.jumpstart.cache import JUMPSTART_DEFAULT_MANIFEST_FILE_S3_KEY, JumpStartModelsCache
  from sagemaker.jumpstart.constants import ENV_VARIABLE_JUMPSTART_MANIFEST_LOCAL_ROOT_DIR_OVERRIDE, ENV_VARIABLE_JUMPSTART_SPECS_LOCAL_ROOT_DIR_OVERRIDE
  from sagemaker.jumpstart.types import JumpStartModelHeader, JumpStartModelSpecs, JumpStartVersionedModelId
  from tests.unit.sagemaker.jumpstart.utils import get_spec_from_base_spec, patched_retrieval_function
  from tests.unit.sagemaker.jumpstart.constants import BASE_MANIFEST, BASE_SPEC
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
label_desc: Use image node_id 5 for calling a global function with example usage: test_jumpstart_cache_accepts_input_parameters() without return types