def change_password(self, previous_password, proposed_password):
        """
        Change the User 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})
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 } )
Change the User password