lambda_handler
¤
Integration of Dispatch programmable endpoints for AWS Lambda.
Example:
from dispatch.experimental.lambda_handler import Dispatch
dispatch = Dispatch(api_key="test-key")
@dispatch.function
def my_function():
return "Hello World!"
@dispatch.function
def entrypoint():
my_function()
def handler(event, context):
dispatch.handle(event, context, entrypoint="entrypoint")