dashboard_for_job_runs
Creates, updates, deletes, gets or lists a dashboard_for_job_runs resource.
Overview
| Name | dashboard_for_job_runs |
| Type | Resource |
| Id | aws.emr_serverless.dashboard_for_job_runs |
Fields
The following fields are returned by SELECT queries:
- get_dashboard_for_job_run
| Name | Datatype | Description |
|---|---|---|
url | string | The URL to view job run's dashboard. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_dashboard_for_job_run | select | application_id, job_run_id, region | attempt, accessSystemProfileLogs | 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. 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. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
application_id | string | The ID of the application. |
job_run_id | string | The ID of the job run. |
region | string | AWS region (default: us-east-1) |
accessSystemProfileLogs | boolean | Allows access to system profile logs for Lake Formation-enabled jobs. Default is false. |
attempt | integer | 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. |
SELECT examples
- get_dashboard_for_job_run
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. 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.
SELECT
url
FROM aws.emr_serverless.dashboard_for_job_runs
WHERE application_id = '{{ application_id }}' -- required
AND job_run_id = '{{ job_run_id }}' -- required
AND region = '{{ region }}' -- required
AND attempt = '{{ attempt }}'
AND accessSystemProfileLogs = '{{ accessSystemProfileLogs }}'
;