how to check if user already exist with same email or phone number while registration in Cognito user pool
问题 when new user register with same email and phone number user successfully registered in the Cognito user pool. so how can i check if user already exist with same email or phone number while registration in Cognito user pool This is my code for user registration in Cognito user pool result = client.sign_up( ClientId= clientId, Username= data['username'], Password= data['password'], UserAttributes=[ { 'Name': 'phone_number', 'Value': data['phone_number'], }, { 'Name': 'email', 'Value': data[