2 ms·
So when user deletes the app, it sends two separate messages to AWS: one to the Cognito which stores the user ID and email, and one to the Dynamo database that
by jaybhum 3y ago
So when user deletes the app, it sends two separate messages to AWS: one to the Cognito which stores the user ID and email, and one to the Dynamo database that has user data linked to the anonymized ID. The data are deleted independently, and upon receiving the success message from both of them, the account is fully deleted. That way, the user data in Dynamo DB does not have to know what is happening in Cognito.