invoke: Invoke a Lambda function

Description Usage Arguments Value Examples

Description

Invoke a Lambda function

Usage

1
2
3
invoke(name, payload, ..., context, client = lambda_client())

lambda_client()

Arguments

name

name of the lambda function

payload

a toJSON-able R object

...

not used

context

the client context

client

a Lambda client (invoke will be called upon it)

Value

function result

Examples

1
2
3
4
5
## Not run: 
# Using the default hello-world lambda function, default event, and default auth:
AWR.Lambda::invoke("myFunctionName",  list(key3="value3", key2="value2",key1="value1"))

## End(Not run)

nfultz/AWR.Lambda documentation built on May 13, 2019, 8:39 a.m.