Sha256: a00b0075ae59969dfc087841b6942120695e71bf86ec37001dc9396f533fe048
Contents?: true
Size: 386 Bytes
Versions: 12
Compression:
Stored size: 386 Bytes
Contents
module Awspec::Helper module Finder module CognitoUserPool def find_userpool_by_name(pool_name) cognito_identity_provider_client.list_user_pools(max_results: 60).each do |response| pools = response.user_pools pools.each do |pool| return pool if pool.name == pool_name end end nil end end end end
Version data entries
12 entries across 12 versions & 1 rubygems