Invoke a lambda function
invoke_function(
name,
qualifier,
payload = NULL,
type = c("RequestResponse", "Event", "DryRun"),
log = c("None", "Tail"),
...
)
A character string specifying the function name (either a full ARN or a max 64-character string). For functions other than create_function
this can also be an object of class “aws_lambda_function”.
Optionally, either a function version or alias. If omitted, information about the latest version is returned.
Optionally, a list of parameters to send in the JSON body to the function.
A character string specifying one of: (1) “Event” (asynchronous execution), (2) “RequestResponse” (the default), or (3) “DryRun” to test the function without executing it.
A character string to control log response.
Additional arguments passed to lambdaHTTP
.