Skip to content

Get Resource Dashboard

emrserverless_get_resource_dashboard R Documentation

Returns a URL that you can use to access the application UIs for a specified resource, such as a session

Description

Returns a URL that you can use to access the application UIs for a specified resource, such as a session.

For resources in a running state, the application UI is a live user interface such as the Spark web UI. For terminated resources, the application UI is a persistent application user interface such as the Spark History Server.

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.

Usage

emrserverless_get_resource_dashboard(applicationId, resourceId,
  resourceType)

Arguments

applicationId

[required] The ID of the application that the resource belongs to.

resourceId

[required] The ID of the resource.

resourceType

[required] The type of resource to access the dashboard for. Currently, only Session is supported.

Value

A list with the following syntax:

list(
  url = "string"
)

Request syntax

svc$get_resource_dashboard(
  applicationId = "string",
  resourceId = "string",
  resourceType = "SESSION"
)