def regions():
    """
    Get all available regions for the CloudWatch service.

    :rtype: list
    :return: A list of :class:`boto.RegionInfo` instances
    """
    regions = []
    for region_name in RegionData:
        region = RegionInfo(name=region_name,
                            endpoint=RegionData[region_name],
                            connection_cls=CloudWatchConnection)
        regions.append(region)
    return regions
def regions ( ) : regions = [ ] for region_name in RegionData : region = RegionInfo ( name = region_name , endpoint = RegionData [ region_name ] , connection_cls = CloudWatchConnection ) regions . append ( region ) return regions
Get all available regions for the CloudWatch service.

    :rtype: list
    :return: A list of :class:`boto.RegionInfo` instances