Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2015-2015, Inc. or its affiliates. All Rights Reserved.
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
 * or in the "license" file accompanying this file. This file is distributed
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
An annotation that marks methods of an interface that are meant to be proxied to remote code running on AWS Lambda. Methods may accept zero or one arguments, and may return zero or one values. Inputs and outputs will be converted to/from JSON using the Jackson ObjectMapper.
public @interface LambdaFunction {

The name of the Lambda function to invoke for this annotated method. If not explicitly set, the name of the interface method is used.

public interface LambdaFunctions {

See also:
functionName="ActualFunctionName") void notTheRealFunctionName(); }
    String functionName() default "";

The type of invocation to use. If unspecified, defaults to RequestResponse. If a logType of anything other than None is specified, the invocation type may only be set to RequestResponse.

public interface LambdaFunctions {

See also:
functionName="DoIt") void doIt();
functionName="DoIt", invocationType=InvocationType.Event) void doItAsynchronously();
functionName="DoIt", invocationType=InvocationType.DryRun) void dryRunIt(); }
The type of log to request from the service. If unspecified, no logs will be requested. If specified, the invocation type may only be set to 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.

See also:
    LogType logType() default .;
New to GrepCode? Check out our FAQ X