def list_regions(service):
for region in service.regions():<EOL><INDENT>print('<STR_LIT>' % {<EOL>'<STR_LIT:name>': region.name,<EOL>'<STR_LIT>': region.endpoint,<EOL>})<EOL><DEDENT>
List regions for the service