Description
Use case
The recent data classes introduced in #6287 do not expose queryStringParameters or multiValueQueryStringParameters properties
Solution/User Experience
`
from aws_lambda_powertools.utilities.data_classes import (
APIGatewayWebSocketEvent,
event_source,
)
@event_source(data_class=APIGatewayWebSocketEvent)
def lambda_handler(event: APIGatewayWebSocketEvent, context):
qs1 = event.queryString["param1"]
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) TenetsShould this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped
Activity
leandrodamascena commentedon Apr 5, 2025
Hey @dave-dotnet-overall! Thanks for opening this here. Do you want to send a PR to fix this?
dave-dotnet-overall commentedon Apr 6, 2025
@leandrodamascena #6411
github-actions commentedon Apr 7, 2025
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.