:doc:`EMRServerless <../../emr-serverless>` / Client / get_dashboard_for_job_run

*************************
get_dashboard_for_job_run
*************************



.. py:method:: EMRServerless.Client.get_dashboard_for_job_run(**kwargs)

  

  Creates and returns a URL that you can use to access the application UIs for a job run.

   

  For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.

   

  .. note::

    

    The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetDashboardForJobRun>`_  


  **Request Syntax**
  ::

    response = client.get_dashboard_for_job_run(
        applicationId='string',
        jobRunId='string',
        attempt=123,
        accessSystemProfileLogs=True|False
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The ID of the application.

    

  
  :type jobRunId: string
  :param jobRunId: **[REQUIRED]** 

    The ID of the job run.

    

  
  :type attempt: integer
  :param attempt: 

    An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.

    

  
  :type accessSystemProfileLogs: boolean
  :param accessSystemProfileLogs: 

    Allows access to system profile logs for Lake Formation-enabled jobs. Default is false.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'url': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **url** *(string) --* 

        The URL to view job run's dashboard.

        
  
  **Exceptions**
  
  *   :py:class:`EMRServerless.Client.exceptions.ValidationException`

  
  *   :py:class:`EMRServerless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EMRServerless.Client.exceptions.InternalServerException`

  