code: def _resolve_parameters(template_dict, parameter_overrides):
          
  
          parameter_values = SamBaseProvider._get_parameter_values(template_dict, parameter_overrides)
  
          supported_intrinsics = {action.intrinsic_name: action() for action in SamBaseProvider._SUPPORTED_INTRINSICS}
  
          # Intrinsics resolver will mutate the original template
          return IntrinsicsResolver(parameters=parameter_values, supported_intrinsics=supported_intrinsics)\
              .resolve_parameter_refs(template_dict)
docs: In the given template, apply parameter values to resolve intrinsic functions
  
          Parameters
          ----------
          template_dict : dict
              SAM Template
  
          parameter_overrides : dict
              Values for template parameters provided by user
  
          Returns
          -------
          dict
              Resolved SAM template