paws.compute (version 0.1.0)

lambda_invoke_async: For asynchronous function invocation, use Invoke

Description

For asynchronous function invocation, use Invoke.

Usage

lambda_invoke_async(FunctionName, InvokeArgs)

Arguments

FunctionName

[required] The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 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.

InvokeArgs

[required] The JSON that you want to provide to your Lambda function as input.

Request syntax

svc$invoke_async(
  FunctionName = "string",
  InvokeArgs = raw
)

Details

Invokes a function asynchronously.

Examples

Run this code
# NOT RUN {
# This operation invokes a Lambda function asynchronously
# }
# NOT RUN {
svc$invoke_async(
  FunctionName = "myFunction",
  InvokeArgs = "fileb://file-path/input.json"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab