tessl install tessl/pypi-aws-lambda-powertools@3.19.0Comprehensive developer toolkit implementing serverless best practices for AWS Lambda functions in Python
Agent Success
Agent success rate when using this tile
89%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.22x
Baseline
Agent success rate without this tile
73%
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.