When importing an existing Cognito UserPool, you need to specify the UserPoolProviderName.
I couldn’t find this pattern in the documentation or from the AWS console, so here’s a note.
cognito-idp.<region>.amazonaws.com/<user-pool-id>
<region>
is the region where the UserPool was created. <user-pool-id>
is the ID of the UserPool.