<s> """<STR_LIT>""" <EOL> from boto . emr . connection import EmrConnection <EOL> from boto . emr . step import Step , StreamingStep , JarStep <EOL> from boto . emr . bootstrap_action import BootstrapAction <EOL> from boto . regioninfo import RegionInfo , get_regions <EOL> def regions ( ) : <EOL> """<STR_LIT>""" <EOL> return get_regions ( '<STR_LIT>' , connection_cls = EmrConnection ) <EOL> def connect_to_region ( region_name , ** kw_params ) : <EOL> for region in regions ( ) : <EOL> if region . name == region_name : <EOL> return region . connect ( ** kw_params ) <EOL> return None </s>
