def _gen_success_message(publish_output):
application_id = publish_output.get('<STR_LIT>')<EOL>details = json.dumps(publish_output.get('<STR_LIT>'), indent=<NUM_LIT:2>)<EOL>if CREATE_APPLICATION in publish_output.get('<STR_LIT>'):<EOL><INDENT>return "<STR_LIT>".format(details)<EOL><DEDENT>return '<STR_LIT>'.format(application_id, details)<EOL>
Generate detailed success message for published applications.

Parameters
----------
publish_output : dict
    Output from serverlessrepo publish_application

Returns
-------
str
    Detailed success message