Glue / Client / run_statement

run_statement#

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'
)
Parameters:
  • SessionId (string) –

    [REQUIRED]

    The Session Id of the statement to be run.

  • Code (string) –

    [REQUIRED]

    The statement code to be run.

  • RequestOrigin (string) – The origin of the request.

Return type:

dict

Returns:

Response Syntax

{
    'Id': 123
}

Response Structure

  • (dict) –

    • Id (integer) –

      Returns the Id of the statement that was run.

Exceptions