docs: def list_role_policies(role_name, region=None, key=None, keyid=None,
                         profile=None):
      '''
      Get a list of policy names from a role.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.list_role_policies myirole
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      try:
          response = conn.list_role_policies(role_name)
          _list = response.list_role_policies_response.list_role_policies_result
          return _list.policy_names
      except boto.exception.BotoServerError as e:
          log.debug(e)
          return []