def get_all_elbs(region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  return [e for e in conn.get_all_load_balancers()]
 except boto.exception.BotoServerError as error:
  log.warning(error)
  return []

def get_all_elbs ( region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : return [ e for e in conn . get_all_load_balancers ( ) ] except boto . exception . BotoServerError as error : log . warning ( error ) return [ ]
return all load balancers associated with an account cli example: .