Skip to content

List Durable Executions By Function

lambda_list_durable_executions_by_function R Documentation

Returns a list of durable executions for a specified Lambda function

Description

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.

Usage

lambda_list_durable_executions_by_function(FunctionName, Qualifier,
  DurableExecutionName, Statuses, StartedAfter, StartedBefore,
  ReverseOrder, Marker, MaxItems)

Arguments

FunctionName

[required] The name or ARN of the Lambda function. You can specify a function name, a partial ARN, or a full ARN.

Qualifier

The function version or alias. If not specified, lists executions for the $LATEST version.

DurableExecutionName

Filter executions by name. Only executions with names that matches this string are returned.

Statuses

Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED.

StartedAfter

Filter executions that started after this timestamp (ISO 8601 format).

StartedBefore

Filter executions that started before this timestamp (ISO 8601 format).

ReverseOrder

Set to true to return results in reverse chronological order (newest first). Default is false.

Marker

Pagination token from a previous request to continue retrieving results.

MaxItems

Maximum number of executions to return (1-1000). Default is 100.

Value

A list with the following syntax:

list(
  DurableExecutions = list(
    list(
      DurableExecutionArn = "string",
      DurableExecutionName = "string",
      FunctionArn = "string",
      Status = "RUNNING"|"SUCCEEDED"|"FAILED"|"TIMED_OUT"|"STOPPED",
      StartTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      EndTimestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextMarker = "string"
)

Request syntax

svc$list_durable_executions_by_function(
  FunctionName = "string",
  Qualifier = "string",
  DurableExecutionName = "string",
  Statuses = list(
    "RUNNING"|"SUCCEEDED"|"FAILED"|"TIMED_OUT"|"STOPPED"
  ),
  StartedAfter = as.POSIXct(
    "2015-01-01"
  ),
  StartedBefore = as.POSIXct(
    "2015-01-01"
  ),
  ReverseOrder = TRUE|FALSE,
  Marker = "string",
  MaxItems = 123
)