Skip to content

/AWS1/CL_EMRGETSESSENDPTOUTPUT

Output of the GetSessionEndpoint operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_endpoint TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The Spark Connect endpoint URL to use in the PySpark client.

Optional arguments:

iv_authtoken TYPE /AWS1/EMRSENSITIVESTRING /AWS1/EMRSENSITIVESTRING

A time-limited authentication token used to connect to the Spark Connect endpoint.

iv_authtokenexpirationtime TYPE /AWS1/EMRDATE /AWS1/EMRDATE

The time at which the authentication token expires. After this time, call GetSessionEndpoint again to obtain a new token.

io_credentials TYPE REF TO /AWS1/CL_EMRCREDENTIALS /AWS1/CL_EMRCREDENTIALS

Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.


Queryable Attributes

Endpoint

The Spark Connect endpoint URL to use in the PySpark client.

Accessible with the following methods

Method Description
GET_ENDPOINT() Getter for ENDPOINT, with configurable default
ASK_ENDPOINT() Getter for ENDPOINT w/ exceptions if field has no value
HAS_ENDPOINT() Determine if ENDPOINT has a value

AuthToken

A time-limited authentication token used to connect to the Spark Connect endpoint.

Accessible with the following methods

Method Description
GET_AUTHTOKEN() Getter for AUTHTOKEN, with configurable default
ASK_AUTHTOKEN() Getter for AUTHTOKEN w/ exceptions if field has no value
HAS_AUTHTOKEN() Determine if AUTHTOKEN has a value

AuthTokenExpirationTime

The time at which the authentication token expires. After this time, call GetSessionEndpoint again to obtain a new token.

Accessible with the following methods

Method Description
GET_AUTHTOKENEXPIRATIONTIME() Getter for AUTHTOKENEXPIRATIONTIME, with configurable defaul
ASK_AUTHTOKENEXPIRATIONTIME() Getter for AUTHTOKENEXPIRATIONTIME w/ exceptions if field ha
HAS_AUTHTOKENEXPIRATIONTIME() Determine if AUTHTOKENEXPIRATIONTIME has a value

Credentials

Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.

Accessible with the following methods

Method Description
GET_CREDENTIALS() Getter for CREDENTIALS