Package | Description |
---|---|
com.amazonaws.services.lambda | |
com.amazonaws.services.lambda.invoke |
A higher-level wrapper for AWS Lambda's Invoke operation.
|
com.amazonaws.services.lambda.model | |
com.amazonaws.services.lambda.model.transform |
Modifier and Type | Method and Description |
---|---|
InvokeResult |
AbstractAWSLambda.invoke(InvokeRequest request) |
InvokeResult |
AWSLambdaClient.invoke(InvokeRequest invokeRequest)
Invokes a specific Lambda function.
|
InvokeResult |
AWSLambda.invoke(InvokeRequest invokeRequest)
Invokes a specific Lambda function.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<InvokeResult> |
AbstractAWSLambdaAsync.invokeAsync(InvokeRequest request) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsyncClient.invokeAsync(InvokeRequest request) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsync.invokeAsync(InvokeRequest invokeRequest)
Invokes a specific Lambda function.
|
java.util.concurrent.Future<InvokeResult> |
AbstractAWSLambdaAsync.invokeAsync(InvokeRequest request,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsyncClient.invokeAsync(InvokeRequest request,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsync.invokeAsync(InvokeRequest invokeRequest,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler)
Invokes a specific Lambda function.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<InvokeResult> |
AbstractAWSLambdaAsync.invokeAsync(InvokeRequest request,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsyncClient.invokeAsync(InvokeRequest request,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler) |
java.util.concurrent.Future<InvokeResult> |
AWSLambdaAsync.invokeAsync(InvokeRequest invokeRequest,
AsyncHandler<InvokeRequest,InvokeResult> asyncHandler)
Invokes a specific Lambda function.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.Throwable |
LambdaInvokerFactory.LambdaInvocationHandler.getExceptionFromPayload(java.lang.reflect.Method method,
InvokeResult invokeResult) |
private java.lang.Object |
LambdaInvokerFactory.LambdaInvocationHandler.getObjectFromPayload(java.lang.reflect.Method method,
InvokeResult invokeResult)
Reads a Java object suitable for returning from the given method from the payload of the
given
InvokeResult (or returns null if the method has no return value or
the response contains no payload). |
private java.lang.Object |
LambdaInvokerFactory.LambdaInvocationHandler.processInvokeResult(java.lang.reflect.Method method,
InvokeResult invokeResult)
Process the result of invoking a remote function.
|
Modifier and Type | Method and Description |
---|---|
InvokeResult |
InvokeResult.clone() |
InvokeResult |
InvokeResult.withFunctionError(java.lang.String functionError)
Indicates whether an error occurred while executing the Lambda function.
|
InvokeResult |
InvokeResult.withLogResult(java.lang.String logResult)
It is the base64-encoded logs for the Lambda function invocation.
|
InvokeResult |
InvokeResult.withPayload(java.nio.ByteBuffer payload)
It is the JSON representation of the object returned by the Lambda
function.
|
InvokeResult |
InvokeResult.withStatusCode(java.lang.Integer statusCode)
The HTTP status code will be in the 200 range for successful request.
|
Modifier and Type | Method and Description |
---|---|
InvokeResult |
InvokeResultJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |