title: Python boto function for getting ALL policies associated with a ROLE?
body: <p>I am looking to parse ALL IAM policies in my account for IP address restriction information.  This includes groups, users, and roles.</p>
  
  <p>So with <a href="http://boto.readthedocs.org/en/latest/ref/iam.html" rel="nofollow">boto.iam</a>, I can:</p>
  
  <ul>
  <li>list all my groups</li>
  <li>iterate over those groups, getting all the policies for each group</li>
  <li>iterate over those policies, parsing them for the IP restriction clause.</li>
  </ul>
  
  <p>I can do the same for my users.</p>
  
  <p>However, there is no equivalent "get_all_role_policies" command that I can find.  I have verified that I can attach more than one policy to each role.</p>
  
  <p>Am I missing something, or does boto just not support the same functionality for roles as they do for groups and users?</p>