code: def change_password(self, previous_password, proposed_password):
          
          self.check_token()
          response = self.client.change_password(
              PreviousPassword=previous_password,
              ProposedPassword=proposed_password,
              AccessToken=self.access_token
          )
          self._set_attributes(response, {'password': proposed_password})
docs: Change the User password