code: def collect_yarn_application_diagnostics(self, *application_ids):
      
      args = dict(applicationIds = application_ids)
      return self._cmd('yarnApplicationDiagnosticsCollection', api_version=8, data=args)
docs: DEPRECATED: use create_yarn_application_diagnostics_bundle on the Yarn service. Deprecated since v10.
  
      Collects the Diagnostics data for Yarn applications.
  
      @param application_ids: An array of strings containing the ids of the
                              yarn applications.
      @return: Reference to the submitted command.
      @since: API v8