code: def change_password(self, body, username=None, params=None):
          
          if body in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'body'.")
          return self.transport.perform_request(
              "PUT",
              _make_path("_security", "user", username, "_password"),
              params=params,
              body=body,
          )
docs: `<https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html>`_
  
          :arg body: the new password for the user
          :arg username: The username of the user to change the password for
          :arg refresh: If `true` (the default) then refresh the affected shards
              to make this operation visible to search, if `wait_for` then wait
              for a refresh to make this operation visible to search, if `false`
              then do nothing with refreshes., valid choices are: 'true', 'false',
              'wait_for'