powertools-lambda-python
powertools-lambda-python copied to clipboard
A developer toolkit to implement Serverless best practices and increase developer velocity.
### Expected Behaviour The docs show the current version of the lambda layer. ### Current Behaviour The docs show the layer version is 18. ### Code snippet ```python See reproduction...
### Use case (follow up from Discord thread: https://discord.com/channels/1006478942305263677/1432874977454985288) Background: According to https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html, for ALB requests > If the query parameters are URL-encoded, the load balancer does not decode them....
feat(event_handler): add File parameter support for multipart/form-data uploads in OpenAPI utility
**Issue number:** #7124 closes #7124 ## Summary This PR adds comprehensive **File parameter** support for handling file uploads in multipart/form-data requests within the AWS Lambda Powertools Python Event Handler with...
### Use case `BatchProcessor` supports a `raise_on_entire_batch_failure` option (through its parent class, `BasePartialBatchProcessor`). `SqsFifoPartialProcessor` extends from `BatchProcessor`, but doesn't allow the `raise_on_entire_batch_failure` option to be set, so the default value...
### Use case There are several use cases where customers require the ability to react to a change within the Powertools library internals. These have been implemented using a concrete...
### Expected Behaviour As a developer, I expect that any exceptions that propagate out of my handler to be logged by default with the typical stack trace, etc. That is...
### Expected Behaviour When defining a Annotated Query Field it should behave in the same way as pydantic does (set `validation_alias` the same as `alias` if not set otherwise). This...
Feature request: Support custom status codes of fine-grained responses for OpenAPI spec generation
### Use case For our APIs we sometimes have custom status codes in our success responses (for instance 201 Created) leading us to use the `Response` class. The following (simplified)...
Feature request: Create a dedicated Cache utility in Powertools (based on current idempotency layer)
### Use case Customers are using the Powertools Idempotency utility for caching purposes. Idempotency is a specific implementation that includes a "caching" mechanism via the storage provider classes. Idempotency is...
### Discussed in https://github.com/aws-powertools/powertools-lambda-python/discussions/7441 Originally posted by **daniel-amag** September 29, 2025 I'm very confused about the schema I'm meant to parse for IntelligentTiering events from S3 to a Lambda. The...