code: def list_instance_profiles(path_prefix='/', region=None, key=None,
                             keyid=None, profile=None):
      '''
      List all IAM instance profiles, starting at the optional path.
  
      .. versionadded:: 2016.11.0
  
      CLI Example:
  
          salt-call boto_iam.list_instance_profiles
      '''
      p = get_all_instance_profiles(path_prefix, region, key, keyid, profile)
      return [i['instance_profile_name'] for i in pf list_instance_profiles(path_prefix='/', region=None, key=None,
                             keyid=None, profile=None):
      '''
      List all IAM instance profiles, starting at the optional path.
  
      .. versionadded:: 2016.11.0
  
      CLI Example:
  
          salt-call boto_iam.list_instance_profiles
      '''
      p = get_all_instance_profiles(path_prefix, region, key, keyid, profile)
      return [i['instance_profile_name'] for i in p]
docs: List all IAM instance profiles, starting at the optional path.
  
      .. versionadded:: 2016.11.0
  
      CLI Example:
  
          salt-call boto_iam.list_instance_profiles