FEA-Bench / testbed /aws-powertools__powertools-lambda-python /tests /events /cognitoCreateAuthChallengeEvent.json
| { | |
| "version": "1", | |
| "region": "us-east-1", | |
| "userPoolId": "us-east-1_example", | |
| "userName": "UserName", | |
| "callerContext": { | |
| "awsSdkVersion": "awsSdkVersion", | |
| "clientId": "clientId" | |
| }, | |
| "triggerSource": "CreateAuthChallenge_Authentication", | |
| "request": { | |
| "userAttributes": { | |
| "sub": "4A709A36-7D63-4785-829D-4198EF10EBDA", | |
| "email_verified": "true", | |
| "name": "First Last", | |
| "email": "create-auth@mail.com" | |
| }, | |
| "challengeName": "PASSWORD_VERIFIER", | |
| "session" : [ | |
| { | |
| "challengeName": "CUSTOM_CHALLENGE", | |
| "challengeResult": true, | |
| "challengeMetadata": "CAPTCHA_CHALLENGE" | |
| } | |
| ], | |
| "userNotFound": false | |
| }, | |
| "response": {} | |
| } | |