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()
Metadata
Release files for aws-lambda-invoker 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws_lambda_invoker-0.0.2.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_lambda_invoker-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / aws_lambda_invoker-0.0.2.tar.gz
| Download URL | aws_lambda_invoker-0.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8596152887a70401b6ea5e84e4172da635f152996e7e172f86e69b223a35cbb3
|
|
BLAKE2b-256 checksum How to use checksums |
63e22827b9a987658904a0af2fb18e8497e56976ca4837753c7d7c2ea9f057a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / aws_lambda_invoker-0.0.2-py3-none-any.whl
| Download URL | aws_lambda_invoker-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc840d8ac1d3023e998acf7d19ed588d98c71ed405d9a6871e50dabfcf034f23
|
|
BLAKE2b-256 checksum How to use checksums |
7875f0e4fed6188f1ff19748e632cd43fcff126def17f96da38ad595c226c8fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|