cancel_statement
¶
cancel_statement(
session_id: NameString,
id: IntegerValue,
*,
config_overrides: Optional[GlueClientConfig] = None,
request_origin: Optional[OrchestrationNameString] = None,
) -> CancelStatementResponse
Cancels the statement.
Parameters:
-
session_id(NameString) –The Session ID of the statement to be cancelled.
-
id(IntegerValue) –The ID of the statement to be cancelled.
-
request_origin(Optional[OrchestrationNameString], default:None) –The origin of the request to cancel the statement.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist
-
IllegalSessionStateException–The session is in an invalid state to perform a requested operation.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.