Comprehensive developer toolkit implementing serverless best practices for AWS Lambda functions in Python
89
A Lambda function that processes customer orders from an API Gateway endpoint and logs all operations with proper correlation tracking across distributed service calls.
Build a Lambda handler that:
@generates
def lambda_handler(event: dict, context) -> dict:
"""
Process customer orders with correlation ID tracking.
Args:
event: API Gateway proxy event containing order details
context: Lambda context object
Returns:
dict: API Gateway proxy response with status code and body
"""
passProvides structured logging with correlation ID management for distributed tracing.
Install with Tessl CLI
npx tessl i tessl/pypi-aws-lambda-powertoolsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10