class_docstr: Static class for storing the JumpStart models cache.
class_docstr_tok: ["Static","class","for","storing","the","JumpStart","models","cache","."]
docstr: Returns model header from JumpStart models cache.
  
  Args:
      region (str): region for which to retrieve header.
      model_id (str): model ID to retrieve.
      version (str): semantic version to retrieve for the model ID.
docstr_tok: ["Returns","model","header","from","JumpStart","models","cache",".","Args",":","region","(","str",")",":","region","for","which","to","retrieve","header",".","model_id","(","str",")",":","model","ID","to","retrieve",".","version","(","str",")",":","semantic","version","to","retrieve","for","the","model","ID","."]
code: def get_model_header(
      region: str, model_id: str, version: str
  ) -> JumpStartModelHeader:
      """Returns model header from JumpStart models cache.
  
      Args:
          region (str): region for which to retrieve header.
          model_id (str): model ID to retrieve.
          version (str): semantic version to retrieve for the model ID.
      """
      cache_kwargs = JumpStartModelsAccessor._validate_and_mutate_region_cache_kwargs(
          JumpStartModelsAccessor._cache_kwargs, region
      )
      JumpStartModelsAccessor._set_cache_and_region(
          region, cache_kwargs
      )
      return JumpStartModelsAccessor._cache.get_header(  # type: ignore
          model_id=model_id, semantic_version_str=version
      )
  
imports: from __future__ import absolute_import
  import functools
  from typing import Any, Dict, List, Optional
  import boto3
  from sagemaker.deprecations import deprecated
  from sagemaker.jumpstart.types import JumpStartModelHeader, JumpStartModelSpecs
  from sagemaker.jumpstart import cache
  from sagemaker.jumpstart.constants import JUMPSTART_DEFAULT_REGION_NAME
label_desc: Use image node_id 8 for calling the JumpStartModelsAccessor obj's underlying member method code with example usage: obj.get_model_header(region, model_id, version) and returns: JumpStartModelsAccessor