invoke_function: Invoke Lambda Function

Description Usage Arguments See Also

View source: R/invoke.R

Description

Invoke a lambda function

Usage

1
2
3
4
5
6
7
8
invoke_function(
  name,
  qualifier,
  payload = NULL,
  type = c("RequestResponse", "Event", "DryRun"),
  log = c("None", "Tail"),
  ...
)

Arguments

name

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”.

qualifier

Optionally, either a function version or alias. If omitted, information about the latest version is returned.

payload

Optionally, a list of parameters to send in the JSON body to the function.

type

A character string specifying one of: (1) “Event” (asynchronous execution), (2) “RequestResponse” (the default), or (3) “DryRun” to test the function without executing it.

log

A character string to control log response.

...

Additional arguments passed to lambdaHTTP.

See Also

create_function, list_functions,


aws.lambda documentation built on April 17, 2020, 1:15 a.m.