code: def get_users(self, attr_map=None):
          
          kwargs = {"UserPoolId":self.user_pool_id}
  
          response = self.client.list_users(**kwargs)
          return [self.get_user_obj(user.get('Username'),
                                    attribute_list=user.get('Attributes'),
                                    metadata={'username':user.get('Username')},
                                    attr_map=attr_map)
                  for user in response.get('Users')]
docs: Returns all users for a user pool. Returns instances of the
          self.user_class.
          :param attr_map:
          :return: