Creates an ApiAction that is resolved with passed lambda block.
New ApiAction with passed block.
Executed action block.