def enable(self, cmd, args, options):
			pop = options['pop']
			exoconfig = options['config']
			rpc = options['rpc']
			ExoException = options['exception']
			key = exoconfig.config['vendortoken']

			# --portalrid is optional, but passing
			# it saves one lookup
			portal_cik = exoconfig.lookup_shortcut(args['<portal-cik>'])
			portal_rid = args['--portal-rid']
			if portal_rid is None:
				portal_rid = rpc.lookup(portal_cik, '')
			mlist = pop.serialnumber_enable(key, args['<model>'], args['<sn>'], portal_rid)

			# write Portals-like meta fields
			rid = mlist.body
			# raise ExoException('got here. rid of clone is ' + rid + ' portal cik is ' + portal_cik)
			meta = {
				"device": {
					"type": "vendor",
					"model": args['<model>'],
					"vendor": exoconfig.config['vendor'],
					"sn": args['<sn>']
				}
			}
			rpc.update(portal_cik, rid, {'meta': json.dumps(meta)})
			print(rid)
Directly invoke a named Lambda function with a payload.
dataset/ETHPy150Open exosite/exoline/exoline/plugins/provision.py/Plugin.sn.enable--crossover with--dataset/ETHPy150Open Miserlou/Zappa/zappa/zappa.py/Zappa.invoke_lambda_function