View source: R/lambda_operations.R
lambda_invoke | R Documentation |
Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType
to Event
.
See https://www.paws-r-sdk.com/docs/lambda_invoke/ for full documentation.
lambda_invoke(
FunctionName,
InvocationType = NULL,
LogType = NULL,
ClientContext = NULL,
Payload = NULL,
Qualifier = NULL
)
FunctionName |
[required] The name of the Lambda function, version, or alias. Name formats
You can append a version number or alias to any of the 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. |
InvocationType |
Choose from the following options.
|
LogType |
Set to |
ClientContext |
Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object. |
Payload |
The JSON that you want to provide to your Lambda function as input. You can enter the JSON directly. For example,
|
Qualifier |
Specify a version or alias to invoke a published version of the function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.