def METHOD_NAME(self) -> str:
    alias = self._get_param("alias")
    max_results = self._get_int_param("maxResults")
    next_token = self._get_param("nextToken")
    workspaces, next_token = self.amp_backend.METHOD_NAME(
        alias, max_results=max_results, next_token=next_token
    )
    return json.dumps(
        {"nextToken": next_token, "workspaces": [w.to_dict() for w in workspaces]}
    )