invoke_function: Invoke Lambda Function

Description Usage Arguments See Also

View source: R/invoke.R

Description

Invoke a lambda function

Usage

1
2
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, the JSON body to send 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,


cloudyr/aws.lambda documentation built on May 13, 2019, 8:19 p.m.