public interface LambdaRuntimeApiClient
| Modifier and Type | Method and Description |
|---|---|
InvocationRequest |
nextInvocation()
Get next invocation
|
InvocationRequest |
nextInvocationWithExponentialBackoff(LambdaContextLogger lambdaLogger)
Get next invocation with exponential backoff
|
void |
reportInitError(LambdaError error)
Report Init error
|
void |
reportInvocationError(String requestId,
LambdaError error)
Report invocation error
|
void |
reportInvocationSuccess(String requestId,
byte[] response)
Report invocation success
|
void |
reportRestoreError(LambdaError error)
SnapStart endpoint to report errors during afterRestore hooks execution
|
void |
restoreNext()
SnapStart endpoint to report that beforeCheckoint hooks were executed
|
void reportInitError(LambdaError error) throws IOException
error - error to reportIOExceptionInvocationRequest nextInvocation() throws IOException
IOExceptionInvocationRequest nextInvocationWithExponentialBackoff(LambdaContextLogger lambdaLogger) throws Exception
Exceptionvoid reportInvocationSuccess(String requestId, byte[] response) throws IOException
requestId - request idresponse - byte array representing responseIOExceptionvoid reportInvocationError(String requestId, LambdaError error) throws IOException
requestId - request iderror - error to reportIOExceptionvoid restoreNext()
throws IOException
IOExceptionvoid reportRestoreError(LambdaError error) throws IOException
error - error to reportIOExceptionCopyright © 2025. All rights reserved.