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