delete_session

delete_session(**kwargs)

Deletes the session.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the session to be deleted.

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

dict

Returns

Response Syntax

{
    'Id': 'string'
}

Response Structure

  • (dict) --

    • Id (string) --

      Returns the ID of the deleted 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