def resolve_parameter_refs(self, input_dict, parameters):
if not self.can_handle(input_dict):<EOL><INDENT>return input_dict<EOL><DEDENT>param_name = input_dict[self.intrinsic_name]<EOL>if not isinstance(param_name, string_types):<EOL><INDENT>return input_dict<EOL><DEDENT>if param_name in parameters:<EOL><INDENT>return parameters[param_name]<EOL><DEDENT>else:<EOL><INDENT>return input_dict<EOL><DEDENT>
Resolves references that are present in the parameters and returns the value. If it is not in parameters,
this method simply returns the input unchanged.

:param input_dict: Dictionary representing the Ref function. Must contain only one key and it should be "Ref".
    Ex: {Ref: "foo"}

:param parameters: Dictionary of parameter values for resolution
:return: