code: def create_yarn_application_diagnostics_bundle(self, application_ids, ticket_number=None, comments=None):
      
      args = dict(applicationIds = application_ids,
                  ticketNumber = ticket_number,
                  comments = comments)
  
      return self._cmd('yarnApplicationDiagnosticsCollection', api_version=10, data=args)
docs: Collects the Diagnostics data for Yarn applications.
  
      @param application_ids: An array of strings containing the ids of the
                              yarn applications.
      @param ticket_number: If applicable, the support ticket number of the issue
                            being experienced on the cluster.
      @param comments: Additional comments
      @return: Reference to the submitted command.
      @since: API v10