Glue.Client.
run_statement
(**kwargs)¶Executes the statement.
See also: AWS API Documentation
Request Syntax
response = client.run_statement(
SessionId='string',
Code='string',
RequestOrigin='string'
)
[REQUIRED]
The Session Id of the statement to be run.
[REQUIRED]
The statement code to be run.
dict
Response Syntax
{
'Id': 123
}
Response Structure
(dict) --
Id (integer) --
Returns the Id of the statement that was run.
Exceptions
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.ValidationException
Glue.Client.exceptions.ResourceNumberLimitExceededException
Glue.Client.exceptions.IllegalSessionStateException