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

my lambda function is 

func handler(event events.CognitoEvent) (events.CognitoEvent, error) {

fmt.Printf("Post authenticate event Identity ID : %s\n", event.IdentityID)
}

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to