Description of changes: Allows for deserialization of CognitoEventUserPoolsVerifyAuthChallenge when response.answerCorrect is explicitly null (not just missing). Cognito does send events with this field set to null, and this change will prevent errors when this does occur.
By submitting this pull request
[x] I confirm that my contribution is made under the terms of the Apache 2.0 license.
[x] I confirm that I've made a best effort attempt to update all relevant documentation.
Issue #, if available: #825
Description of changes: Allows for deserialization of
CognitoEventUserPoolsVerifyAuthChallenge
whenresponse.answerCorrect
is explicitlynull
(not just missing). Cognito does send events with this field set tonull
, and this change will prevent errors when this does occur.By submitting this pull request