Skip to content

Fixed type of CognitoEvent version attribute. int => String#3

Open
chirag729 wants to merge 1 commit intokatallaxie:mainfrom
chirag729:fix_for_cognito_event_version_parameter
Open

Fixed type of CognitoEvent version attribute. int => String#3
chirag729 wants to merge 1 commit intokatallaxie:mainfrom
chirag729:fix_for_cognito_event_version_parameter

Conversation

@chirag729
Copy link

version attribute for CognitoEvent comes through as a String.

{
    "version": "1",
    "region": "us-east-1",
    "userPoolId": "us-east-1_eQ3CWqhez",
    "userName": "2b37ddf6-277e-4c4d-b9d7-2e366a85489c",
    "callerContext": {
        "awsSdkVersion": "aws-sdk-unknown-unknown",
        "clientId": "3p3baj8uej3qos8k1ekfg6a4ed"
    },
    "triggerSource": "PostConfirmation_ConfirmSignUp",
    "request": {
        "userAttributes": {
            "sub": "2b37ddf6-277e-4c4d-b9d7-2e366a85489c",
            "birthdate": "1994-06-16",
            "email_verified": "true",
            "cognito:user_status": "CONFIRMED",
            "cognito:email_alias": "*******@******",
            "email": "*******@******"
        }
    },
    "response": {}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant