@Target(METHOD) @Retention(RUNTIME) public @interface LambdaFunction
ObjectMapper.| Modifier and Type | Optional Element | 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.
|
String functionName
public interface LambdaFunctions {
InvokeRequest#functionName(String)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 {
InvokeRequest#invocationType(InvocationType)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#logType(LogType),
LogFactory.getLog(Class)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.