def _validate_ami_region_map(blob):
    return dict(
        (AWS_REGIONS.lookupByValue(k), v)
        for k, v in json.loads(blob).items()
    )
Validate and decode the supplied JSON encoded mapping.
dataset/ETHPy150Open ClusterHQ/flocker/admin/installer/_images.py/_validate_ami_region_map