powered by
For asynchronous function invocation, use invoke.
invoke
Invokes a function asynchronously.
lambda_invoke_async(FunctionName, InvokeArgs)
A list with the following syntax:
list( Status = 123 )
[required] The name of the Lambda function.
Name formats
Function name - my-function.
my-function
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
arn:aws:lambda:us-west-2:123456789012:function:my-function
Partial ARN - 123456789012:function:my-function.
123456789012:function:my-function
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
[required] The JSON that you want to provide to your Lambda function as input.
svc$invoke_async( FunctionName = "string", InvokeArgs = raw )
if (FALSE) { # The following example invokes a Lambda function asynchronously svc$invoke_async( FunctionName = "my-function", InvokeArgs = "{}" ) }
Run the code above in your browser using DataLab