#NEWLINE# def regions( **kw_params ) : #NEWLINE# #INDENT# "\n    Get all available regions for the EC2 service.\n    You may pass any of the arguments accepted by the EC2Connection\n    object's constructor as keyword arguments and they will be\n    passed along to the EC2Connection object.\n        \n    :rtype: list\n    :return: A list of :class:`boto.ec2.regioninfo.RegionInfo`\n    " #NEWLINE# c = EC2Connection ( ** kw_params ) #NEWLINE# return c . get_all_regions ( )