上下文的替代项.成功(事件)



Iam试图使用python创建一个迁移触发器来更改我的用户池。在这个触发器中,context.succeed(event)的替代方案是什么,需要在用户验证成功后发送回cognito。

根据文档,您可以返回事件

def lambda_handler(event, context):
# Your code here
# Return to Amazon Cognito
return event

文档

最新更新