It sounds like you're using the cloud execution module, but need the
runner. Either way, kwargs are recommended.
http://docs.saltstack.com/en/latest/topics/cloud/salt.html#runner-module
It looks like that page could use some more examples, but in the
meantime I can show you this:
https://github.com/saltstack-formulas/ec2-autoscale-reactor
I'm sure some people on the list are getting sick of me linking to
that every few weeks, but it really does have some good examples in
it. It uses salt-api directly via webhooks, and makes use of both the
runner and the wheel functionality in salt-api.
> --
> You received this message because you are subscribed to the Google Groups
> "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
salt-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
"In order to create, you have to have the willingness, the desire to
be challenged, to be learning." -- Ferran Adria (speaking at Harvard,
2011)