def list_records(zone_id, profile):
 conn = _get_driver(profile=profile)
 zone = conn.get_zone(zone_id)
 return conn.list_records(zone)

def list_records ( zone_id , profile ) : conn = _get_driver ( profile = profile ) zone = conn . get_zone ( zone_id ) return conn . list_records ( zone )
list records for the given zone_id on the given profile .