parameters: (cleaner, iam_role_name)
docstring: Cleans out a role by deleting and detaching all role policies.
      :param cleaner: A Cleaner object from the main cleanup.py script
      :param iam_role_name: The iam role name to be cleaned
      :return: None
docstring_summary: Cleans out a role by deleting and detaching all role policies.
      :param cleaner: A Cleaner object from the main cleanup.py script
      :param iam_role_name: The iam role name to be cleaned
      :return: None
docstring_tokens: Cleans out a role by deleting and detaching all role policies . : param cleaner : A Cleaner object from the main cleanup . py script : param iam_role_name : The iam role name to be cleaned : return : None
function: def _clean_iam_role(cleaner, iam_role_name):
      """
      Cleans out a role by deleting and detaching all role policies.
      :param cleaner: A Cleaner object from the main cleanup.py script
      :param iam_role_name: The iam role name to be cleaned
      :return: None
      """
      print('    cleaning role {}'.format(iam_role_name))
      _delete_iam_role_policies(cleaner, iam_role_name)
      _detach_iam_role_policies(cleaner, iam_role_name)
function_tokens: def _clean_iam_role ( cleaner , iam_role_name ) : print ( '    cleaning role {}' . format ( iam_role_name ) ) _delete_iam_role_policies ( cleaner , iam_role_name ) _detach_iam_role_policies ( cleaner , iam_role_name )