get_session_endpoint
async
¶
get_session_endpoint(
session_id: NameString, *, config_overrides: Optional[AsyncGlueClientConfig] = None
) -> GetSessionEndpointResponse
Returns the Spark Connect endpoint URL and authentication token for an interactive session.
Parameters:
-
session_id(NameString) –The unique identifier of the interactive session.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist
-
IllegalSessionStateException–The session is in an invalid state to perform a requested operation.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationNotSupportedException–The operation is not available in the region.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 | |