cancel_statement

Glue.Client.cancel_statement(**kwargs)

Cancels the statement.

See also: AWS API Documentation

Request Syntax

response = client.cancel_statement(
    SessionId='string',
    Id=123,
    RequestOrigin='string'
)
Parameters
  • SessionId (string) --

    [REQUIRED]

    The Session ID of the statement to be cancelled.

  • Id (integer) --

    [REQUIRED]

    The ID of the statement to be cancelled.

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

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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