def emr_ssl_host_for_region(region):
 region = _fix_region(region)
 if (not region):
  return _EMR_REGIONLESS_ENDPOINT
 else:
  return (_EMR_REGION_SSL_HOST % {'region': region})

def emr_ssl_host_for_region ( region ) : region = _fix_region ( region ) if ( not region ) : return _EMR_REGIONLESS_ENDPOINT else : return ( _EMR_REGION_SSL_HOST % { 'region' : region } )
get the host for elastic mapreduce that matches their ssl cert for the given region .