def extract_param_pairs(params, prefix='', keyname='', valuename=''):
 plist = extract_param_list(params, prefix)
 kvs = [(p[keyname], p[valuename]) for p in plist if ((keyname in p) and (valuename in p))]
 return dict(kvs)

def extract_param_pairs ( params , prefix = '' , keyname = '' , valuename = '' ) : plist = extract_param_list ( params , prefix ) kvs = [ ( p [ keyname ] , p [ valuename ] ) for p in plist if ( ( keyname in p ) and ( valuename in p ) ) ] return dict ( kvs )
extract user input params from aws style parameter-pair encoded list .