'Create a new IdResolver.
Args:
app_ids: A list of application ids with application id shard set. i.e.
s~my_app or e~my_app.'

def __init__(self, app_ids=()):

    resolver_map = {}
    for app_id in app_ids:
        resolver_map[self.resolve_project_id(app_id)] = app_id
    self._resolver_map = resolver_map
