Skip to content

Get Statement

glue_get_statement R Documentation

Retrieves the statement

Description

Retrieves the statement.

Usage

glue_get_statement(SessionId, Id, RequestOrigin)

Arguments

SessionId

[required] The Session ID of the statement.

Id

[required] The Id of the statement.

RequestOrigin

The origin of the request.

Value

A list with the following syntax:

list(
  Statement = list(
    Id = 123,
    Code = "string",
    State = "WAITING"|"RUNNING"|"AVAILABLE"|"CANCELLING"|"CANCELLED"|"ERROR",
    Output = list(
      Data = list(
        TextPlain = "string"
      ),
      ExecutionCount = 123,
      Status = "WAITING"|"RUNNING"|"AVAILABLE"|"CANCELLING"|"CANCELLED"|"ERROR",
      ErrorName = "string",
      ErrorValue = "string",
      Traceback = list(
        "string"
      )
    ),
    Progress = 123.0,
    StartedOn = 123,
    CompletedOn = 123
  )
)

Request syntax

svc$get_statement(
  SessionId = "string",
  Id = 123,
  RequestOrigin = "string"
)