@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()]
Static factory function for instantiating _NameExpansionIterator.
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/elb/elb.py/get_zones--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/name_expansion.py/NameExpansionIterator