In go if i am running the unit test test the follwing error appears
# github.com/emisgroup/auth/lambda/user_service/add_role
package github.com/emisgroup/auth/lambda/user_service/add_role (test)
imports github.com/emisgroup/auth/library/datastore/datastoremocks
imports github.com/stretchr/
When i am running the unit test which was working before stopped working
and i am getting the following error
# github.com/emisgroup/auth/lambda/user_service/add_role
package github.com/emisgroup/auth/lambda/user_service/add_role (test)
imports github.com/emisgroup/auth/library/datastore/dat
i have wrote a lambda function in go to trigger the event in cognito, i
have attached the lambda in cognito user ppol when i logged in form UI just
before authenticate i am getting error
json: cannot unmarshal string into Go struct field CognitoEvent.version of
type int: UnmarshalTypeError null
I am new to aws
Could anybody help me to write a lambda function which i need read the
cognio user log events, i have found i can trigger a lamdab from Cognio
?User pool in pre sign up and post sign up , but i wond understanf how can
i getthe log events like user login, loug, password change,