def METHOD_NAME(self, params):
    sys.stdout.write('Deleting the IAM user policies... ')
    list_user_policies = self.iam.get_paginator('list_user_policies')
    try:
        for response in list_user_policies.paginate(
                UserName=params.user_name):
            for policy_name in response['PolicyNames']:
                self.iam.delete_user_policy(
                    UserName=params.user_name,
                    PolicyName=policy_name
                )
    except ClientError as e:
        if e.response.get('Error', {}).get('Code') != 'NoSuchEntity':
            raise e
    sys.stdout.write('DONE\n')