def _validate_ami_region_map(blob):
 return dict(((AWS_REGIONS.lookupByValue(k), v) for (k, v) in json.loads(blob).items()))

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 .