def get_all_instance_profiles(path_prefix='/', region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 marker = False
 profiles = []
 while (marker is not None):
  marker = (marker if marker else None)
  p = conn.list_instance_profiles(path_prefix=path_prefix, marker=marker)
  res = p.list_instance_profiles_response.list_instance_profiles_result
  profiles += res.instance_profiles
  marker = getattr(res, 'marker', None)
 return profiles

def get_all_instance_profiles ( path_prefix = '/' , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) marker = False profiles = [ ] while ( marker is not None ) : marker = ( marker if marker else None ) p = conn . list_instance_profiles ( path_prefix = path_prefix , marker = marker ) res = p . list_instance_profiles_response . list_instance_profiles_result profiles += res . instance_profiles marker = getattr ( res , 'marker' , None ) return profiles
get and return all iam instance profiles .