def resolve_resource_id_refs(self, input_dict, supported_resource_id_refs):
if not self.can_handle(input_dict):<EOL><INDENT>return input_dict<EOL><DEDENT>ref_value = input_dict[self.intrinsic_name]<EOL>if not isinstance(ref_value, string_types) or self._resource_ref_separator in ref_value:<EOL><INDENT>return input_dict<EOL><DEDENT>logical_id = ref_value<EOL>resolved_value = supported_resource_id_refs.get(logical_id)<EOL>if not resolved_value:<EOL><INDENT>return input_dict<EOL><DEDENT>return {<EOL>self.intrinsic_name: resolved_value<EOL>}<EOL>
Updates references to the old logical id of a resource to the new (generated) logical id.

Example:
    {"Ref": "MyLayer"} => {"Ref": "MyLayerABC123"}

:param dict input_dict: Dictionary representing the Ref function to be resolved.
:param dict supported_resource_id_refs: Dictionary that maps old logical ids to new ones.
:return dict: Dictionary with resource references resolved.