powertools-lambda-python
powertools-lambda-python copied to clipboard
A developer toolkit to implement Serverless best practices and increase developer velocity.
### What were you searching in the docs? The [Micro Function Pattern](https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#micro-function) with Event Handler. ### Is this related to an existing documentation section? https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#micro-function ### How can we improve?...
### Use case Currently, the DataMasking utility only supports using [AWS Encryption SDK](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/introduction.html) as the encryption provider. Some customers want an alternative to bringing their providers and leveraging existing mechanisms...
### Use case CloudWatch metrics/alarms now support non-CloudWatch sources [via an adapter Lambda function](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_MultiDataSources-Connect-Custom.html#MultiDataSources-GetMetricData). The request/response structures are complex enough that they would benefit from having a strongly typed wrapper....
### Use case Add support for batch processing partial failures when using a MSK/Kafka event source map. This is currently supported for Amazon SQS, Amazon Kinesis Data Streams, and Amazon...
### Expected Behaviour @heitorlessa this is a continuation of [23777](https://github.com/awslabs/aws-lambda-powertools-python/issues/2377) When using the `BatchProcessor` with `process_partial_response` from [here](https://awslabs.github.io/aws-lambda-powertools-python/2.16.1/utilities/batch/) I have noticed that the event does not have to respect the...
### Use case Arguably, it might be easier for users if an empty Dict is returned instead of `None` for path_parameters in APIGatewayProxyEventV2, for example. Instead of: ```python @event_source(data_class=APIGatewayProxyEventV2) def...
### Expected Behaviour When `log_uncaught_exceptions=True`, uncaught exceptions in a lambda are handled and transformed to a structured log. ### Current Behaviour Uncaught exceptions are printed unstructured. ### Code snippet ```python...
### Use case ## Event Handler Router - Imrprovements Currently the route endpoints of `event_handler` don't take any function parameters other than url path variables as positional parameters ```py app...
### Why is this needed? Currently, the `SSMProvider` class does not implement the `get_multiple` method and we lose the ability to check environment variables and others. We can't fix it...
### Summary **Stream of consciousness tasks** * [ ] Split feature flags functional tests into unit and functional * [ ] Make Schema Validation errors more granular (backwards compatible!) to...