def METHOD_NAME(self, template_file_dict: Dict[Any, Any]) -> Dict[Any, Any]:
    """
    Performs a sam translate on a template and returns the translated template in the form of a dictionary or
    raises exceptions accordingly
    Parameters
    ----------
    template_file_dict: Dict[Any, Any]
        The template in dictionary format to be translated
    Returns
    -------
    response: Dict[Any, Any]
        The dictionary representing the translated template
    """
    try:
        # Note to check if IAM can be mocked to get around doing a translate without it
        validator = SamTemplateValidator(
            template_file_dict,
            ManagedPolicyLoader(self.iam_client),
            profile=self.profile,
            region=self.region,
            parameter_overrides=self.parameter_overrides,
        )
        translated_dict = yaml_parse(validator.get_translated_template_if_valid())
        return translated_dict
    except InvalidSamDocumentException as e:
        raise InvalidSamTemplateException(str(e)) from e
    except NoRegionFound as no_region_found_e:
        raise UserException(
            "AWS Region was not found. Please configure your region through a profile or --region option",
            wrapped_from=no_region_found_e.__class__.__name__,
        ) from no_region_found_e
    except NoCredentialsError as e:
        raise UserException(
            "AWS Credentials are required. Please configure your credentials.", wrapped_from=e.__class__.__name__
        ) from e
    except ClientError as e:
        LOG.error("ClientError Exception : %s", str(e))
        raise SamListUnknownClientError(msg=str(e)) from e