Skip to content

LambdaClient.get_durable_execution_history

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves the execution history for a durable execution , showing all the steps, callbacks, and events that occurred during the execution. This provides a detailed audit trail of the execution's progress over time. The history is available while the execution is running and for a retention period after it completes (1-90 days, default 30 days). You can control whether to include execution data...

Install and imports

python -m pip install "rboto[lambda]==0.4.0"
from rboto import LambdaClient
from rboto_lambda.types import (
    GetDurableExecutionHistoryOutput,
)

Signature

async def get_durable_execution_history(
    *,
    durable_execution_arn: str,
    include_execution_data: bool | None = None,
    max_items: int | None = None,
    marker: str | None = None,
    reverse_order: bool | None = None,
) -> GetDurableExecutionHistoryOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
durable_execution_arn Yes The Amazon Resource Name (ARN) of the durable execution.
include_execution_data No Specifies whether to include execution data such as step results and callback payloads in the history events. Set to true to include data, or false to exclude it for a more compact response. The default is true .
max_items No The maximum number of history events 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.
marker No If NextMarker was returned from a previous request, use this value to retrieve the next page of results. Each pagination token expires after 24 hours.
reverse_order No When set to true , returns the history events in reverse chronological order (newest first). By default, events are returned in chronological order (oldest first).

Output

GetDurableExecutionHistoryOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
events list[EventOutput] Always present EventOutput
next_marker str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetDurableExecutionHistoryOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.get_durable_execution_history(...) accepts the same arguments and returns AsyncIterator[GetDurableExecutionHistoryOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: marker. Page-size argument: max_items.

No output stream.

Errors

Import from rboto_lambda.exceptions:

InvalidParameterValueError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, ResourceNotFoundError, ServiceError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model