list_durable_executions_by_function
async
¶
list_durable_executions_by_function(
function_name: NamespacedFunctionName,
*,
config_overrides: Optional[AsyncLambdaClientConfig] = 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/async__lambda.py
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 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 | |