def _fix_region(region):
 region = (region or '').lower()
 return (_ALIAS_TO_REGION.get(region) or region)

def _fix_region ( region ) : region = ( region or '' ) . lower ( ) return ( _ALIAS_TO_REGION . get ( region ) or region )
convert "eu" to "eu-west-1" .