aws / aws/aws-lambda-java-libs

Issue with Map types in CognitoUserPoolPreTokenGenerationEventV2 -> GroupOverrideDetails

未关闭
#516 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
548
派生
241
平均合并
2 天 5 分钟
30 天内合并 PR
11

描述

According to my support representative and the documentation https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#aws-lambda-triggers-pre-token-generation-example-version-2-overview, the response should return list types for groupsToOverride and iamRolesToOverride even when I use V2 pre token generation, not Map. My experiences with Map here is that cognito fails when I return an object generated by the current java sdk with map here instead of a list, so I suspect that the SDK uses the wrong types here. Thank you in advance for looking into my issue!

贡献指南

打开贡献指南

调研方向

首先定位 CognitoUserPoolPreTokenGenerationEventV2 及其 GroupOverrideDetails 定义,然后将 groupsToOverride 和 iamRolesToOverride 的类型与 issue 中链接的 AWS 文档进行比较。当 Java 事件模型将响应字段表示为文档所述的列表类型,并且有覆盖展示生成的响应结构时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, java
领域
authentication
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。