Invoke Async
lambda_invoke_async | R Documentation |
For asynchronous function invocation, use Invoke¶
Description¶
For asynchronous function invocation, use invoke
.
Invokes a function asynchronously.
If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
Usage¶
lambda_invoke_async(FunctionName, InvokeArgs)
Arguments¶
FunctionName |
[required] The name or ARN of the Lambda function. Name formats
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. |
InvokeArgs |
[required] The JSON that you want to provide to your Lambda function as input. |
Value¶
A list with the following syntax:
list(
Status = 123
)
Request syntax¶
svc$invoke_async(
FunctionName = "string",
InvokeArgs = raw
)
Examples¶
## Not run:
# The following example invokes a Lambda function asynchronously
svc$invoke_async(
FunctionName = "my-function",
InvokeArgs = "{}"
)
## End(Not run)