@SdkInternalApi
    final GetDashboardForJobRunResult executeGetDashboardForJobRun(GetDashboardForJobRunRequest getDashboardForJobRunRequest) {

        ExecutionContext executionContext = createExecutionContext(getDashboardForJobRunRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetDashboardForJobRunRequest> request = null;
        Response<GetDashboardForJobRunResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetDashboardForJobRunRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getDashboardForJobRunRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "EMR Serverless");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetDashboardForJobRun");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<GetDashboardForJobRunResult>> responseHandler = protocolFactory
                    .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                            new GetDashboardForJobRunResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Creates and returns a URL that you can use to access the application UIs for a job run.
</p>
<p>
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.
</p>
<note>
<p>
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.
</p>
</note>

@param getDashboardForJobRunRequest
@return Result of the GetDashboardForJobRun operation returned by the service.
@throws ValidationException
        The input fails to satisfy the constraints specified by an Amazon Web Services service.
@throws ResourceNotFoundException
        The specified resource was not found.
@throws InternalServerException
        Request processing failed because of an error or failure with the service.
@sample AWSEMRServerless.GetDashboardForJobRun
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetDashboardForJobRun"
     target="_top">AWS API Documentation</a>
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/AWSEMRServerlessClient.java