Pythonの辞書 `data = {“status”: “up”}` を `status: up` という形式のYAMLに変換するコードはどれか。

yaml.dump()関数はPythonオブジェクトをYAML形式の文字列に変換して出力する。