Skip to main content

session_endpoints

Creates, updates, deletes, gets or lists a session_endpoints resource.

Overview

Namesession_endpoints
TypeResource
Idaws.glue.session_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auth_tokenstringThe authentication token to include in requests to the Spark Connect endpoint.
auth_token_expiration_timestring (date-time)The time at which the authentication token expires.
urlstringThe Spark Connect endpoint URL for the session. (pattern: <code>^sc:​//.*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_session_endpointselectregionReturns the Spark Connect endpoint URL and authentication token for an interactive session.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the Spark Connect endpoint URL and authentication token for an interactive session.

SELECT
auth_token,
auth_token_expiration_time,
url
FROM aws.glue.session_endpoints
WHERE region = '{{ region }}' -- required
;