public class LambdaClient extends Object
| Modifier | Constructor and Description |
|---|---|
|
LambdaClient()
Default constructor.
|
|
LambdaClient(IPCClient ipcClient)
Constructor with customized IPC client.
|
protected |
LambdaClient(IPCClient ipcClient,
GreengrassLogger greengrassLogger)
Constructor with customized IPC client and logger.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeResponse |
invoke(InvokeRequest invokeRequest)
Invoke a function via IPC.
|
public LambdaClient()
public LambdaClient(IPCClient ipcClient)
ipcClient - an IPC clientprotected LambdaClient(IPCClient ipcClient, GreengrassLogger greengrassLogger)
ipcClient - an IPC clientgreengrassLogger - a Greengrass Loggerpublic InvokeResponse invoke(InvokeRequest invokeRequest) throws GGLambdaException
invokeRequest - invoke request objectGGLambdaException - thrown when invoke failed