powertools-lambda-typescript
powertools-lambda-typescript copied to clipboard
Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
Bug: ParsedResultError contains nested ParseErrors instead of a ParseError with a cause of ZodError
### Expected Behavior In the following example: ```typescript const lambdaHandler = async ( event: ParsedResult, context: Context ): Promise => { if (!event.success) { return response(400, JSON.stringify((event.error.cause as ZodError).errors)); }...
https://github.com/aws-powertools/powertools-lambda-typescript/discussions/3142#discussioncomment-10821988
## Summary SQS Fifo doesn't have an async processing feature. This PR adds the feature to process async records with SQS Fifo. ### Changes - This is a **WIP PR**....
### Expected Behavior `logger.info` or any logger calls should not be using excessive memory usage with `Max Memory Used: 3339 MB` This is opposed to straight `console.log`, where we get...
### Use case AWS recently launched new region: Asia Pacific (Malaysia) - ap-southeast-5 https://aws.amazon.com/pt/blogs/aws/now-open-aws-asia-pacific-malaysia-region/ ### Solution/User Experience Deploy Lambda Layers to this new region. ### Alternative solutions _No response_ ###...
### Expected Behavior When using Parser with Lambda Function URL I should be able to parse requests that have a valid body that is not encoded as a JSON string....
### Use case When working with Amazon DynamoDB Stream events, the service sends the DynamoDB items in the database-specific format rather than regular JSON objects. For example, a `string` might...
### Use case When working with Amazon DynamoDB Streams and Amazon Kinesis Data Streams, with events being consumed by a AWS Lambda function customers want to parse and validate events...
### Use case We were in the process of [enabling the capturing of the lambda context](https://docs.powertools.aws.dev/lambda/typescript/latest/core/logger/#capturing-lambda-context-info) in our logger. Although we like the additional context, we didnt enable it because...
### Summary While we use Dependabot for automatically updating our dependencies, the `@aws-cdk/cli-lib-alpha` is being excluded by the updates ([example](https://github.com/aws-powertools/powertools-lambda-typescript/pull/3110/files)) despite being included in the [config](https://github.com/aws-powertools/powertools-lambda-typescript/blob/b3903a07bffd8caf0822447dcc8233b9df9af847/.github/dependabot.yml#L45-L50). We should update the...