get_durable_execution_history¶
Operation¶
get_durable_execution_history
async
¶
get_durable_execution_history(input: GetDurableExecutionHistoryInput, plugins: list[Plugin] | None = None) -> GetDurableExecutionHistoryOutput
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 such as step results and callback payloads.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDurableExecutionHistoryInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetDurableExecutionHistoryOutput
|
An instance of |
Input¶
GetDurableExecutionHistoryInput
dataclass
¶
Dataclass for GetDurableExecutionHistoryInput structure.
Attributes¶
durable_execution_arn
class-attribute
instance-attribute
¶
durable_execution_arn: str | None = None
The Amazon Resource Name (ARN) of the durable execution.
include_execution_data
class-attribute
instance-attribute
¶
include_execution_data: bool | None = None
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.
marker
class-attribute
instance-attribute
¶
marker: str | None = None
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.
Output¶
GetDurableExecutionHistoryOutput
dataclass
¶
The response from the GetDurableExecutionHistory operation, containing the execution history and events.