AWS Lambda invoker
Project description
AWS Lambda invoker
Simple package for lambda invocation with AWS boto3. This package is intended to be used as an interface for invoking AWS Lambda functions emulating AWS API Gateway, SNS, Event bridge and SQS.
Installation
$ pip install aws-lambda-invoker
Example
invoker = LambdaInvoker(
lambda_name="TEST-LAMBDA",
payload="{\"key\": \"value\"}",
invoke_type=InvokeType.RequestResponse,
)
response = invoker.invoke()
# or using AGLambdaInvoker
invoker = AGLambdaInvoker(
lambda_name="TEST-LAMBDA",
method="GET",
path="TEST-path",
body="TEST-body",
headers={"key": "value"},
query_params={"key": "value"},
path_params={"key": "value"},
)
response = invoker.invoke()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_lambda_invoker-0.0.2.tar.gz.
File metadata
- Download URL: aws_lambda_invoker-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8596152887a70401b6ea5e84e4172da635f152996e7e172f86e69b223a35cbb3
|
|
| MD5 |
684cded60d8f6da293456104df76f815
|
|
| BLAKE2b-256 |
63e22827b9a987658904a0af2fb18e8497e56976ca4837753c7d7c2ea9f057a6
|
File details
Details for the file aws_lambda_invoker-0.0.2-py3-none-any.whl.
File metadata
- Download URL: aws_lambda_invoker-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc840d8ac1d3023e998acf7d19ed588d98c71ed405d9a6871e50dabfcf034f23
|
|
| MD5 |
e1422a516e04560415b58482687056c8
|
|
| BLAKE2b-256 |
7875f0e4fed6188f1ff19748e632cd43fcff126def17f96da38ad595c226c8fc
|