Glue / Client / get_session_endpoint
get_session_endpoint¶
- Glue.Client.get_session_endpoint(**kwargs)¶
Returns the Spark Connect endpoint URL and authentication token for an interactive session.
See also: AWS API Documentation
Request Syntax
response = client.get_session_endpoint( SessionId='string' )
- Parameters:
SessionId (string) –
[REQUIRED]
The unique identifier of the interactive session.
- Return type:
dict
- Returns:
Response Syntax
{ 'SparkConnect': { 'Url': 'string', 'AuthToken': 'string', 'AuthTokenExpirationTime': datetime(2015, 1, 1) } }
Response Structure
(dict) –
SparkConnect (dict) –
The Spark Connect endpoint details for the session.
Url (string) –
The Spark Connect endpoint URL for the session.
AuthToken (string) –
The authentication token to include in requests to the Spark Connect endpoint.
AuthTokenExpirationTime (datetime) –
The time at which the authentication token expires.
Exceptions
Glue.Client.exceptions.AccessDeniedExceptionGlue.Client.exceptions.EntityNotFoundExceptionGlue.Client.exceptions.InternalServiceExceptionGlue.Client.exceptions.OperationTimeoutExceptionGlue.Client.exceptions.InvalidInputExceptionGlue.Client.exceptions.OperationNotSupportedExceptionGlue.Client.exceptions.IllegalSessionStateException