list_durable_executions_by_function
¶
list_durable_executions_by_function(
function_name: NamespacedFunctionName,
*,
config_overrides: Optional[LambdaClientConfig] = None,
qualifier: Optional[NumericLatestPublishedOrAliasQualifier] = None,
durable_execution_name: Optional[DurableExecutionName] = None,
statuses: Optional[ExecutionStatusList] = None,
started_after: Optional[ExecutionTimestamp] = None,
started_before: Optional[ExecutionTimestamp] = None,
reverse_order: Optional[ReverseOrder] = None,
marker: Optional[String] = None,
max_items: Optional[ItemCount] = None,
) -> ListDurableExecutionsByFunctionResponse
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.
Parameters:
-
function_name(NamespacedFunctionName) –The name or ARN of the Lambda function. You can specify a function name, a partial ARN, or a full ARN.
-
qualifier(Optional[NumericLatestPublishedOrAliasQualifier], default:None) –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(Optional[DurableExecutionName], default:None) –Filter executions by name. Only executions with names that matches this string are returned.
-
statuses(Optional[ExecutionStatusList], default:None) –Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED.
-
started_after(Optional[ExecutionTimestamp], default:None) –Filter executions that started after this timestamp (ISO 8601 format).
-
started_before(Optional[ExecutionTimestamp], default:None) –Filter executions that started before this timestamp (ISO 8601 format).
-
reverse_order(Optional[ReverseOrder], default:None) –Set to true to return results in chronological order (oldest first). Default is false.
-
marker(Optional[String], default:None) –Pagination token from a previous request to continue retrieving results.
-
max_items(Optional[ItemCount], default:None) –Maximum number of executions to return (1-1000). Default is 100.
Raises:
-
InvalidParameterValueException–One of the parameters in the request is not valid.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ServiceException–The Lambda service encountered an internal error.
-
TooManyRequestsException–The request throughput limit was exceeded. For more information, see Lambda quotas.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lambda/_services/_lambda.py
5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 | |