Skip to contents

invoke a lambda function

Usage

invoke_lambda(function_name, invocation_type, payload, include_logs = FALSE)

Arguments

function_name

The name or arn of the function

invocation_type

One of ‘DryRun’, ‘RequestResponse’, or ‘Event’ see `?paws.compute::lambda_invoke`

payload

A named list internally converted to json

include_logs

logical, whether to show the lambda logs (default: FALSE)

Examples

if (FALSE) { # \dontrun{
  invoke_lambda(
   function_name = "parity",
   payload = list(number = 3),
   invocation_type = "RequestResponse"
  )
} # }