def change_profile(self, profile_name):
        """Change the profile used for server side completions."""
        self._server_side_completer = self._create_server_side_completer(
            session=botocore.session.Session(profile=profile_name))