def transform(input_fragment, parameter_values, managed_policy_loader):
sam_parser = Parser()<EOL>translator = Translator(managed_policy_loader.load(), sam_parser)<EOL>return translator.translate(input_fragment, parameter_values=parameter_values)<EOL>
Translates the SAM manifest provided in the and returns the translation to CloudFormation.

    :param dict input_fragment: the SAM template to transform
    :param dict parameter_values: Parameter values provided by the user
    :returns: the transformed CloudFormation template
    :rtype: dict