@memoized
def get_zones(region, auth_kwargs):
    ec2_conn = boto.ec2.connect_to_region(region, **auth_kwargs)
    return [zone.name for zone in ec2_conn.get_all_zones()]
:param region: region to get the availability zones for
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/elb/elb.py/get_zones