Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

cancel_statement

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