Skip to content

GetSessionEndpointOutput

Source code in docs_src/capo_emr/types/get_session_endpoint_output.py
class GetSessionEndpointOutput(TypedDict, closed=True):
    endpoint: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The Spark Connect endpoint URL to use in the PySpark client.</p>"""
    auth_token: NotRequired["capo_emr.types.sensitive_string.SensitiveString"]
    """<p>A time-limited authentication token used to connect to the Spark Connect endpoint.</p>"""
    auth_token_expiration_time: NotRequired["capo_emr.types.date.Date"]
    """<p>The time at which the authentication token expires. After this time, call <code>GetSessionEndpoint</code> again to obtain a new token.</p>"""
    credentials: NotRequired["capo_emr.types.credentials.Credentials"]
    """<p>Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.</p>"""

auth_token instance-attribute

auth_token: NotRequired[SensitiveString]

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

auth_token_expiration_time instance-attribute

auth_token_expiration_time: NotRequired[Date]

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

credentials instance-attribute

credentials: NotRequired[Credentials]

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

endpoint instance-attribute

endpoint: NotRequired[XmlString]

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