Interface DurableExecutionClient
- All Known Implementing Classes:
LambdaDurableFunctionsClient,LocalMemoryExecutionClient
public interface DurableExecutionClient
Client interface for communicating with the Lambda Durable Functions backend.
Provides checkpoint and state-retrieval operations used internally by the SDK.
-
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.lambda.model.CheckpointDurableExecutionResponsecheckpoint(String arn, String token, List<software.amazon.awssdk.services.lambda.model.OperationUpdate> updates) Sends a batch of operation updates to the backend.software.amazon.awssdk.services.lambda.model.GetDurableExecutionStateResponsegetExecutionState(String arn, String checkpointToken, String marker) Retrieves the current execution state from the backend.
-
Method Details
-
checkpoint
software.amazon.awssdk.services.lambda.model.CheckpointDurableExecutionResponse checkpoint(String arn, String token, List<software.amazon.awssdk.services.lambda.model.OperationUpdate> updates) Sends a batch of operation updates to the backend.- Parameters:
arn- the durable execution ARNtoken- the checkpoint tokenupdates- the operation updates to send- Returns:
- the checkpoint response
-
getExecutionState
software.amazon.awssdk.services.lambda.model.GetDurableExecutionStateResponse getExecutionState(String arn, String checkpointToken, String marker) Retrieves the current execution state from the backend.- Parameters:
arn- the durable execution ARNcheckpointToken- the checkpoint tokenmarker- pagination marker, or null for the first page- Returns:
- the execution state response
-