Skip to content

Retrieves a list of configurations for asynchronous invocation for a function

Description

Retrieves a list of configurations for asynchronous invocation for a function.

To configure options for asynchronous invocation, use put_function_event_invoke_config.

Usage

lambda_list_function_event_invoke_configs(FunctionName, Marker,
  MaxItems)

Arguments

  • FunctionName

    [required] The name or ARN of the Lambda function.

    Name formats

    • Function name - my-function.
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
    • Partial ARN - 123456789012:function:my-function.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

  • Marker

    Specify the pagination token that's returned by a previous request to retrieve the next page of results.

  • MaxItems

    The maximum number of configurations to return.

Value

A list with the following syntax:

list(
  FunctionEventInvokeConfigs = list(
    list(
      LastModified = as.POSIXct(
        "2015-01-01"
      ),
      FunctionArn = "string",
      MaximumRetryAttempts = 123,
      MaximumEventAgeInSeconds = 123,
      DestinationConfig = list(
        OnSuccess = list(
          Destination = "string"
        ),
        OnFailure = list(
          Destination = "string"
        )
      )
    )
  ),
  NextMarker = "string"
)

Request syntax

svc$list_function_event_invoke_configs(
  FunctionName = "string",
  Marker = "string",
  MaxItems = 123
)

Examples

# The following example returns a list of asynchronous invocation
# configurations for a function named my-function.
svc$list_function_event_invoke_configs(
  FunctionName = "my-function"
)