sym.sdk.integrations.aws_lambda.invoke

sym.sdk.integrations.aws_lambda.invoke(arn: str, payload: Optional[dict] = None) Any

Synchronously invokes an AWS Lambda function. Returns the JSON-deserialized object returned by the lambda

Parameters
  • arn – The ARN of the Lambda function to invoke.

  • payload – A dict of JSON-serializable data to pass to the function.