How can I check if a User pool with name “demo_userpool” exists programmatically? This is assuming I only have the user pool name and not the ARN
or ID
.
Use case: I have a lambda function that creates user pools and I would like it to be idempotent so that I do not end up with multiple user pools for the same request.