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.AccessDeniedExceptionGlue.Client.exceptions.EntityNotFoundExceptionGlue.Client.exceptions.InternalServiceExceptionGlue.Client.exceptions.OperationTimeoutExceptionGlue.Client.exceptions.InvalidInputExceptionGlue.Client.exceptions.IllegalSessionStateException