LambdaClient.list_durable_executions_by_function
rboto-lambda==0.4.0 · Service index · Types
Model summary (excerpt): Returns a list of durable executions for a specified Lambda function. You can filter the results by execution name, status, and start time range. This API supports pagination for large result sets.
Install and imports
from rboto import LambdaClient
from collections.abc import Sequence
from rboto_lambda.types import (
ExecutionStatus,
ListDurableExecutionsByFunctionOutput,
)
Signature
async def list_durable_executions_by_function(
*,
function_name: str,
qualifier: str | None = None,
durable_execution_name: str | None = None,
statuses: Sequence[ExecutionStatus] | None = None,
started_after: str | None = None,
started_before: str | None = None,
reverse_order: bool | None = None,
marker: str | None = None,
max_items: int | None = None,
) -> ListDurableExecutionsByFunctionOutput: ...
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) |
|---|---|---|
function_name |
Yes | The name or ARN of the Lambda function. You can specify a function name, a partial ARN, or a full ARN. |
qualifier |
No | The function version to filter executions by. If you don't specify a qualifier, this operation returns executions across all versions of the Lambda function. |
durable_execution_name |
No | Filter executions by name. Only executions with names that matches this string are returned. |
statuses |
No | Filters the executions by status. Specify one of the following values: RUNNING – The execution is running or waiting for pending operations to complete. PAUSING – The execution is waiting for an in-progress invocation to reach its next checkpoint before it pauses. PAUSED – The execution is paused, and Lambda doesn't invoke your function. SUCCEEDED – The execution completed successfully. FAILED... |
started_after |
No | Filter executions that started after this timestamp (ISO 8601 format). |
started_before |
No | Filter executions that started before this timestamp (ISO 8601 format). |
reverse_order |
No | Set to true to return results in chronological order (oldest first). Default is false. |
marker |
No | Pagination token from a previous request to continue retrieving results. |
max_items |
No | Maximum number of executions to return (1-1000). Default is 100. |
Output
ListDurableExecutionsByFunctionOutput.
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 |
|---|---|---|---|
durable_executions |
list[ExecutionOutput] | None |
Always present | ExecutionOutput |
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.
Related types
ExecutionStatus, ListDurableExecutionsByFunctionOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_durable_executions_by_function(...) accepts the same arguments and returns AsyncIterator[ListDurableExecutionsByFunctionOutput]. 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, ResourceNotFoundError, ServiceError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.