powertools-lambda-python
powertools-lambda-python copied to clipboard
A developer toolkit to implement Serverless best practices and increase developer velocity.
### Why is this needed? When using the AppConfig Provider to fetch user specific configurations at runtime based on the identity of the requester that invokes our lambda function, we...
### Use case Original discussion: https://github.com/aws-powertools/powertools-lambda-python/discussions/2986 Similar to the Tracer utility (https://docs.powertools.aws.dev/lambda/python/latest/core/tracer/#environment-variables), our customers want to disable custom metrics in environments like dev and others. More information here: https://discord.com/channels/1006478942305263677/1006478942787604491/1143575948994826260 ###...
### Is this related to an existing feature request or issue? https://github.com/aws-powertools/powertools-lambda-python/pull/2435 ### Which Powertools for AWS Lambda (Python) utility does this relate to? Other ### Summary A new submodule...
### Use case When working with DynamoDB, depending on the action being performed, there quality of life improvements that can be made to simplify the overall experience. For example: *...
### Discussed in https://github.com/aws-powertools/powertools-lambda-python/discussions/2287 > Related: https://github.com/aws-powertools/powertools-lambda-python/issues/2678 Originally posted by **sk0g** May 18, 2023 So we have payloads that are essentially Kinesis Firehouse events containing an SQS event. Is there...
### What were you searching in the docs? I've been trying to find any documentation on how the routing rules work, but even in the API reference it's just documented...
### Why is this needed? The v3 major version of aws-actions/configure-aws-credentials has been released and is breaking our CI. The role assumed in https://github.com/aws-powertools/powertools-lambda-python/blob/develop/.github/workflows/reusable_deploy_v2_sar.yml#L182 is different from the role that...
### Use case Use the SQS Batch Processor to spread record handlers across multiple threads/processes to avoid main thread bottlenecks when performing CPU bound tasks on the record handler. The...
### Use case We want to handle Kinesis streaming events and use Pydantic models with `event_parser`, AND be able to do partial failures. If use `KinesisDataStreamEnvelope` you just get list...
### Use case I'd like to decorate class methods with APIGatewayRestResolver's router. Particularly, I want to use constructor injection in my app. [Support dependency injection in lambda parameters](https://github.com/awslabs/aws-lambda-powertools-python/issues/924) is good...