We are using AWS Congito as active user directory and planning to store all PI data in userpool only(European region). But Cognito user pool offers limited querying capabilities