AWS Lambda
Last updated
Last updated
The following example requires the boto3
library.
The following agent will use AWS Lambda to list all Lambda functions in our AWS account and invoke a specific Lambda function.
cookbook/tools/aws_lambda_tools.py
region_name
str
"us-east-1"
AWS region name where Lambda functions are located.
list_functions
Lists all Lambda functions available in the AWS account.
invoke_function
Invokes a specific Lambda function with an optional payload. Takes function_name
and optional payload
parameters.
View on