code: def new_password_challenge(self, password, new_password):
          
          aws = AWSSRP(username=self.username, password=password, pool_id=self.user_pool_id,
                       client_id=self.client_id, client=self.client,
                       client_secret=self.client_secret)
          tokens = aws.set_new_password_challenge(new_password)
          self.id_token = tokens['AuthenticationResult']['IdToken']
          self.refresh_token = tokens['AuthenticationResult']['RefreshToken']
          self.access_token = tokens['AuthenticationResult']['AccessToken']
          self.token_type = tokens['AuthenticationResult']['TokenType']
docs: Respond to the new password challenge using the SRP protocol
          :param password: The user's current passsword
          :param password: The user's new passsword