public class LambdaClient
extends java.lang.Object
Constructor and Description |
---|
LambdaClient()
Default constructor.
|
LambdaClient(com.amazonaws.greengrass.ipcsdk.IPCClient ipcClient)
Constructor with customized IPC client.
|
Modifier and Type | Method and Description |
---|---|
InvokeResponse |
invoke(InvokeRequest invokeRequest)
Invoke a function via IPC.
|
public LambdaClient()
public LambdaClient(com.amazonaws.greengrass.ipcsdk.IPCClient ipcClient)
ipcClient
- an IPC clientpublic InvokeResponse invoke(InvokeRequest invokeRequest) throws GGLambdaException
invokeRequest
- invoke request objectGGLambdaException
- thrown when invoke failed