@Target(value=METHOD) @Retention(value=RUNTIME) public @interface LambdaFunction
ObjectMapper.| Modifier and Type | Optional Element and Description |
|---|---|
String |
functionName
The name of the Lambda function to invoke for this annotated method.
|
InvocationType |
invocationType
The type of invocation to use.
|
LogType |
logType
The type of log to request from the service.
|
public abstract String functionName
public interface LambdaFunctions {
InvokeRequest.setFunctionName(String)public abstract InvocationType invocationType
RequestResponse. If a
logType of anything other than None is specified, the invocation type may
only be set to RequestResponse.
public interface LambdaFunctions {
public abstract LogType logType
RequestResponse.
When specified, the log information returned by the Lambda function will be emitted to the
JCL log for the interface class at the INFO level.
InvokeRequest.setLogType(LogType),
LogFactory.getLog(Class)Copyright © 2021. All rights reserved.