Read this on the main serverless docs site¶
Alibaba Cloud - Invoke¶
Invokes a deployed function. You can send event data, read logs and display other important information of the function invocation.
Options¶
--functionor-fThe name of the function in your service that you want to invoke. Required.--dataor-dData you want to pass into the function.
Examples¶
Simple function invocation¶
This example will invoke the deployed function and output the result of the invocation in the terminal.
Function invocation with data¶
This example will invoke the function with the provided data and output the result in the terminal.