Sha256: c6391e29742c5dbbb76ffc34daf85a402eaa080fb191d64a708a4aa09e4c1c62
Contents?: true
Size: 417 Bytes
Versions: 13
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems