{
"version": "1",
"region": "us-west-2",
"userPoolId": "<userPoolId>",
"userName": "<userName>",
"callerContext": {
"awsSdkVersion": "aws-sdk-unknown-unknown",
"clientId": "<clientId>"
},
"triggerSource": "DefineAuthChallenge_Authentication",
"request": {
"userAttributes": {
"sub": "<sub>",
"cognito:user_status": "CONFIRMED",
"phone_number_verified": "true",
"cognito:phone_number_alias": "+12223334455",
"phone_number": "+12223334455"
},
"session": [
{
"challengeName": "PASSWORD_VERIFIER",
"challengeResult": true,
"challengeMetadata": "metadata"
}
],
"clientMetadata": {
"exampleMetadataKey": "example metadata value"
},
"userNotFound": true
},
"response": {
"challengeName": "challengeName",
"issueTokens": true,
"failAuthentication": true
}
}