GetOnClusterAppUIPresignedURL - Amazon EMR

GetOnClusterAppUIPresignedURL

The presigned URL properties for the cluster's application user interface.

Request Syntax

{ "ApplicationId": "string", "ClusterId": "string", "DryRun": boolean, "ExecutionRoleArn": "string", "OnClusterAppUIType": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ApplicationId

The application ID associated with the cluster's application user interface presigned URL.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: No

ClusterId

The cluster ID associated with the cluster's application user interface presigned URL.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: Yes

DryRun

Determines if the user interface presigned URL is for a dry run.

Type: Boolean

Required: No

ExecutionRoleArn

The execution role ARN associated with the cluster's application user interface presigned URL.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Required: No

OnClusterAppUIType

The application UI type associated with the cluster's application user interface presigned URL.

Type: String

Valid Values: SparkHistoryServer | YarnTimelineService | TezUI | ApplicationMaster | JobHistoryServer | ResourceManager

Required: No

Response Syntax

{ "PresignedURL": "string", "PresignedURLReady": boolean }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

PresignedURL

The cluster's generated presigned URL.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 10280.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

PresignedURLReady

Used to determine if the presigned URL is ready.

Type: Boolean

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerError

Indicates that an error occurred while processing the request and that the request was not completed.

HTTP Status Code: 400

InvalidRequestException

This exception occurs when there is something wrong with user input.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: