Module Values.GetDurableExecutionStateRequestSource

Retrieves the current execution state required for the replay process during durable function execution. This API is used by the Lambda durable functions SDK to get state information needed for replay. You typically don't need to call this API directly as the SDK handles state management automatically. The response contains operations ordered by start sequence number in ascending order. Completed operations with children don't include child operation details since they don't need to be replayed.

Sourcetype nonrec t = {
  1. durableExecutionArn : DurableExecutionArn.t;
    (*

    The Amazon Resource Name (ARN) of the durable execution.

    *)
  2. checkpointToken : CheckpointToken.t;
    (*

    A checkpoint token that identifies the current state of the execution. This token is provided by the Lambda runtime and ensures that state retrieval is consistent with the current execution context.

    *)
  3. marker : String_.t option;
    (*

    If NextMarker was returned from a previous request, use this value to retrieve the next page of operations. Each pagination token expires after 24 hours.

    *)
  4. maxItems : ItemCount.t option;
    (*

    The maximum number of operations to return per call. You can use Marker to retrieve additional pages of results. The default is 100 and the maximum allowed is 1000. A value of 0 uses the default.

    *)
}
Sourceval context_ : string
Sourceval make : ?marker:??? -> ?maxItems:??? -> durableExecutionArn:DurableExecutionArn.t -> checkpointToken:CheckpointToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ItemCount.t | `String of DurableExecutionArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t