stop_session

stop_session(**kwargs)

Stops the session.

See also: AWS API Documentation

Request Syntax

response = client.stop_session(
    Id='string',
    RequestOrigin='string'
)
Parameters
  • Id (string) --

    [REQUIRED]

    The ID of the session to be stopped.

  • RequestOrigin (string) -- The origin of the request.
Return type

dict

Returns

Response Syntax

{
    'Id': 'string'
}

Response Structure

  • (dict) --

    • Id (string) --

      Returns the Id of the stopped session.

Exceptions

  • Glue.Client.exceptions.AccessDeniedException
  • Glue.Client.exceptions.InternalServiceException
  • Glue.Client.exceptions.OperationTimeoutException
  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.IllegalSessionStateException
  • Glue.Client.exceptions.ConcurrentModificationException