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 Type
    Method
    Description
    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.
    software.amazon.awssdk.services.lambda.model.GetDurableExecutionStateResponse
    getExecutionState(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 ARN
      token - the checkpoint token
      updates - 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 ARN
      checkpointToken - the checkpoint token
      marker - pagination marker, or null for the first page
      Returns:
      the execution state response