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'
)
[REQUIRED]
The Session ID of the statement to be cancelled.
[REQUIRED]
The ID of the statement to be cancelled.
dict
Response Syntax
{}
Response Structure
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