Skip to main content

session_endpoints

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

Overview

Namesession_endpoints
TypeResource
Idaws.athena.session_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auth_tokenstringAuthentication token for the connection
auth_token_expiration_timestring (date-time)Expiration time of the auth token.
endpoint_urlstringThe endpoint for connecting to the session.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_session_endpointselectregionGets a connection endpoint and authentication token for a given session Id.

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

Gets a connection endpoint and authentication token for a given session Id.

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