powertools-lambda-python
powertools-lambda-python copied to clipboard
A developer toolkit to implement Serverless best practices and increase developer velocity.
**Issue number:** [2030](https://github.com/awslabs/aws-lambda-powertools-python/issues/2030) ## Summary Support provider in tracer ### Changes Modify the provider with more genreral tracer feature, provide a new x-ray provider. ### User experience This change doesn't...
### Use case It would be helpful, if you would support adding extra JSON to generated OpenAPI schema endpoints. We would like to use the generated OpenAPI scheme to provision...
### Why is this needed? In PR #2342 we are providing a observability provider friendly tracing provider to deprecate the current X-Ray specific provider `tracing.base.baseprovider` and `tracing.base.BaseSegment`. This new provider...
### Is this related to an existing feature request or issue? Issue: [#1433](https://github.com/awslabs/aws-lambda-powertools-python/issues/1433) Logger RFC: [#2014](https://github.com/awslabs/aws-lambda-powertools-python/issues/2014) Metrics RFC: [#2015](https://github.com/awslabs/aws-lambda-powertools-python/issues/2015) ### Which AWS Lambda Powertools utility does this relate to? Tracer...
**What were you initially searching for in the docs?** Use cases like fetching HTTP Headers from either API Gateway REST & HTTP API, ALB, AppSync in a case insensitive way...
### Static type checker used pyright/pylance ### AWS Lambda function runtime 3.11 ### Powertools for AWS Lambda (Python) version latest ### Static type checker info `# error: Argument missing for...
### Static type checker used pyright/pylance ### AWS Lambda function runtime 3.12 ### Powertools for AWS Lambda (Python) version latest ### Static type checker info Latest Pylance, latest VS Code,...
### Expected Behavior Accessing code_parameter property of cognito_user_pool_event.CustomMessageTriggerEvent returns the proper encrypted code. ### Current Behaviour Mapping the CustomMessageTriggerEvent data class of cognito_user_pool_event leads to a KeyError because the received...
### Expected Behaviour I have an exception handler for `Exception`. ``` app = APIGatewayRestResolver(enable_validation=True) @app.exception_handler(Exception) def handle_exception(ex: Exception): ... ``` When a validation error happens, I want to get the...
### Use case I would love to be able to use asynchronous Python with Powertools. I understand there is not as much need for it in a Lambda runtime as...