linkParameter missing in CognitoEventUserPoolsCustomMessageRequest
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Xác định định nghĩa của CognitoEventUserPoolsCustomMessageRequest và so sánh các trường của nó với ví dụ về sự kiện custom-message trigger của AWS được liên kết trong issue. Xác nhận rằng linkParameter được giải mã từ request payload, bổ sung coverage cho trường này nếu repository có các test liên quan, và xác minh rằng test suite hiện có chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In the AWS documentation of custom message lambda trigger for Cognito, there is an example json for an incoming event that contains a linkParameter attribute in request node.
It seams like this linkParameter is actually contained in the events payload, as we are able to use it in a lambda written in typescript with event typed as "any". But with this lib, v1.49.0, there is no such field linkParameter inside CognitoEventUserPoolsCustomMessageRequest.
Is this a bug, is there a newer version of the lib somewhere or am I missing something? I do see two ways to work around this limitation:
- Receiving the event as a json.RawMessage and marshal it myself into an own struct.
- Try to build the link on my own from codeParameter and some addtional values, I would have to pass as env variables to the lambda.
Both not optimal.
Thanks in advance for an answer
- Ngôn ngữ chính
- Go
- Star
- 3.8k
- Fork
- 581
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/aws-lambda-go
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
aws/aws-lambda-go#634 ·
-
lambdaurl Wrap is not proxying `LambdaFunctionURLRequest.Cookies`Có thể đã có người làm @mangomaker5 đã nhận 194 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aws/aws-lambda-go#597 · 3 bình luận ·
-
Implement `MultiValueHeaders` for ``events.LambdaFunctionURLResponse``Có thể đã có người làm @nghiack7 đã nhận 151 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
aws/aws-lambda-go#556 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
aws/aws-lambda-go#610 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
aws/aws-lambda-go#598 ·
Tất cả issue của aws/aws-lambda-go
Issue tương tự
-
Controller pods on default limits CrashLoopBackOff and constantly reclaim memoryCó thể đã có người làm @brsmnv đã nhận hôm nay. Đang mởbug
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 68/100
ironcore-dev/ironcore-net#560 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 78/100
JuliusBrussee/caveman#1214 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Model conformance driftĐang mởmodel-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Helm IPv4 host checks accept addresses Go rejectsCó thể đã có người làm @ericcaiwx-star đã nhận hôm nay. Đang mởclawsweeper:bulk-filed clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openclaw/openclaw-enterprise#1588 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày